mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
feat(config): 配置文件的导入\读取\删除草创
* 后续只保留 appData,userData 默认清空
This commit is contained in:
@@ -8,14 +8,12 @@ const useAppStore = defineStore({
|
||||
sidebar: {
|
||||
expand: true,
|
||||
},
|
||||
dataPath: "",
|
||||
dataPath: {
|
||||
app: "",
|
||||
user: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
actions: {
|
||||
setDataPath(path: string) {
|
||||
this.dataPath = path;
|
||||
},
|
||||
},
|
||||
persist: true,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user