This commit is contained in:
zhongluofeng
2026-07-30 09:09:29 +08:00
parent 74902c4cec
commit f452322aad
32 changed files with 4586 additions and 115 deletions
+5
View File
@@ -2,6 +2,7 @@
import { ref, computed, onMounted, onUnmounted } from 'vue'
import { Search, Settings, ChevronRight } from '@lucide/vue'
import { Input } from '@/components/ui/input'
import { invoke } from '@tauri-apps/api/core'
import { getCurrentWindow } from '@tauri-apps/api/window'
import { useSearchStore, type SearchItem } from '@/stores/searchStore'
import { useModuleTabsStore } from '@/stores/moduleTabsStore'
@@ -146,6 +147,10 @@ onMounted(async () => {
} catch {
// 非 Tauri 环境忽略
}
// 延迟修复 snap-layout 子窗口背景(等待插件初始化创建子窗口)
setTimeout(() => {
invoke('fix_snap_background').catch(() => {})
}, 1000)
}
})