From 8398cbc3ba0f56aab768333fa5fc1a3a99401d7a Mon Sep 17 00:00:00 2001 From: BTMuli Date: Thu, 9 Mar 2023 16:58:37 +0800 Subject: [PATCH] =?UTF-8?q?fix(achievements):=20=E4=BF=AE=E5=A4=8D=20dev?= =?UTF-8?q?=20=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/app.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index ea5fd90b..acd82f04 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -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,