From 8ef77b44071e97cc6fc50627faaa33fbfa16fc61 Mon Sep 17 00:00:00 2001 From: kailong321200875 <321200875@qq.com> Date: Fri, 15 Dec 2023 10:49:55 +0800 Subject: [PATCH] =?UTF-8?q?mod:=20=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/settings.json | 2 +- src/store/modules/app.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index f0e4b08..c6be8a8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,7 +2,7 @@ "typescript.tsdk": "node_modules/typescript/lib", "prettier.enable": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "[vue]": { "editor.defaultFormatter": "esbenp.prettier-vscode" diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index 9ea66e9..c5459ea 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -52,8 +52,8 @@ export const useAppStore = defineStore('app', { fixedHeader: true, // 固定toolheader footer: true, // 显示页脚 greyMode: false, // 是否开始灰色模式,用于特殊悼念日 - dynamicRouter: false, // 是否动态路由 - serverDynamicRouter: false, // 是否服务端渲染动态路由 + dynamicRouter: true, // 是否动态路由 + serverDynamicRouter: true, // 是否服务端渲染动态路由 fixedMenu: false, // 是否固定菜单 layout: 'classic', // layout布局