mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
✨ 初步打通相关流程
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* @file store modules app.ts
|
||||
* @description App store module
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.1.5
|
||||
* @author BTMuli <bt-muli@outlook.com>
|
||||
* @since Beta v0.3.0
|
||||
*/
|
||||
|
||||
// vue
|
||||
@@ -42,8 +42,6 @@ export const useAppStore = defineStore(
|
||||
const devEnv = ref(false);
|
||||
// 应用主题
|
||||
const theme = ref("default");
|
||||
// 是否登录
|
||||
const isLogin = ref(false);
|
||||
|
||||
const dataPath = reactive({
|
||||
userDataDir,
|
||||
@@ -78,7 +76,6 @@ export const useAppStore = defineStore(
|
||||
}
|
||||
|
||||
return {
|
||||
isLogin,
|
||||
theme,
|
||||
loading,
|
||||
buildTime,
|
||||
@@ -102,7 +99,7 @@ export const useAppStore = defineStore(
|
||||
{
|
||||
key: "app",
|
||||
storage: window.localStorage,
|
||||
paths: ["devMode", "loading", "buildTime", "isLogin", "devEnv"],
|
||||
paths: ["devMode", "loading", "buildTime", "devEnv"],
|
||||
},
|
||||
{
|
||||
key: "sidebar",
|
||||
|
||||
Reference in New Issue
Block a user