fix Teleport

This commit is contained in:
jxxghp
2025-07-07 17:24:58 +08:00
parent 3cfe27b7b3
commit cd9eaf4fd7
12 changed files with 47 additions and 27 deletions

View File

@@ -1526,9 +1526,9 @@ function onDragStartPlugin(evt: any) {
</VWindow>
</div>
<div v-if="isRefreshed">
<!-- 插件搜索图标 -->
<Teleport to="body">
<!-- 插件搜索图标 -->
<Teleport to="body" v-if="route.path === '/plugins'">
<div v-if="isRefreshed">
<VFab
v-if="!appMode"
icon="mdi-magnify"
@@ -1541,8 +1541,8 @@ function onDragStartPlugin(evt: any) {
@click="SearchDialog = true"
:class="{ 'mb-12': appMode }"
/>
</Teleport>
</div>
</div>
</Teleport>
<!-- 插件市场设置窗口 -->
<PluginMarketSettingDialog
v-if="MarketSettingDialog"