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