mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🎨 根据实际情况修正
This commit is contained in:
@@ -33,10 +33,8 @@ import TBackTop from "./components/t-backTop.vue";
|
||||
import { fs, window, app, event } from "@tauri-apps/api";
|
||||
// store
|
||||
import { useAppStore } from "./store/modules/app";
|
||||
import { useUserStore } from "./store/modules/user";
|
||||
|
||||
const appStore = useAppStore();
|
||||
const userStore = useUserStore();
|
||||
const isMain = ref(true as boolean);
|
||||
const theme = ref(appStore.theme as string);
|
||||
|
||||
@@ -52,8 +50,6 @@ onMounted(async () => {
|
||||
await win.setTitle(title);
|
||||
await checkLoad();
|
||||
}
|
||||
// 保存 cookie
|
||||
await userStore.initCookie();
|
||||
});
|
||||
|
||||
// 监听主题变化
|
||||
|
||||
Reference in New Issue
Block a user