fix(achievements): 修复 dev 报错

This commit is contained in:
BTMuli
2023-03-09 16:58:37 +08:00
parent d6da722074
commit 8398cbc3ba

View File

@@ -24,9 +24,7 @@ const useAppStore = defineStore({
// 是否加载数据 // 是否加载数据
loading: false, loading: false,
// 侧边栏设置 // 侧边栏设置
sidebar: { sidebar: true,
expand: true,
},
// 数据路径 // 数据路径
dataPath: { dataPath: {
app: appDataDir, app: appDataDir,
@@ -61,9 +59,7 @@ const useAppStore = defineStore({
// 初始化加载状态 // 初始化加载状态
this.loading = false; this.loading = false;
// 初始化侧边栏设置 // 初始化侧边栏设置
this.sidebar = { this.sidebar = true;
expand: true,
};
// 初始化数据路径 // 初始化数据路径
this.dataPath = { this.dataPath = {
app: appDataDir, app: appDataDir,