fix: speed up wails dev gui startup

This commit is contained in:
QiuSW
2026-07-08 22:17:42 +08:00
parent 462ff5ac4c
commit 4c1de99d65
7 changed files with 47 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { onMounted} from 'vue'
import { ConfigProvider } from 'ant-design-vue'
import { onMounted } from 'vue'
import { themeConfig } from './utils/ThemeManager'
const applyTheme = () => {
const userTheme = localStorage.getItem('theme')
+1
View File
@@ -72,6 +72,7 @@ async function handleOCR() {
class="flex h-screen w-screen items-start justify-center overflow-hidden pt-8 font-sans select-none bg-gray-100 drag-region dark:bg-gray-900">
<TransitionGroup name="card" tag="div">
<div
key="ocr-card"
class="flex-1 w-[300px] rounded-2xl bg-white/80 dark:bg-gray-700 dark:text-white backdrop-blur-md px-4 py-2 shadow-[0_8px_24px_rgba(0,0,0,0.12)] transition">
<!-- 图片区域 -->
<div