From b39e0ad6db13cb6c737cd4ef5dd867a44c928de3 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期五, 27 十二月 2024 12:55:27 +0800 Subject: [PATCH] 优化 主题色在深色模式下显示亮度 --- src/router/index.ts | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 86e0092..c5b472f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -103,7 +103,7 @@ path: 'role/:userId(\\d+)', component: () => import('@/views/system/user/authRole.vue'), name: 'AuthRole', - meta: { title: '鍒嗛厤瑙掕壊', activeMenu: '/system/user', icon: '' } + meta: { title: '鍒嗛厤瑙掕壊', activeMenu: '/system/user', icon: '', noCache: true } } ] }, @@ -117,7 +117,7 @@ path: 'user/:roleId(\\d+)', component: () => import('@/views/system/role/authUser.vue'), name: 'AuthUser', - meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role', icon: '' } + meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role', icon: '', noCache: true } } ] }, @@ -131,7 +131,7 @@ path: 'index/:dictId(\\d+)', component: () => import('@/views/system/dict/data.vue'), name: 'Data', - meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict', icon: '' } + meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict', icon: '', noCache: true } } ] }, @@ -145,7 +145,7 @@ path: 'index', component: () => import('@/views/system/oss/config.vue'), name: 'OssConfig', - meta: { title: '閰嶇疆绠$悊', activeMenu: '/system/oss', icon: '' } + meta: { title: '閰嶇疆绠$悊', activeMenu: '/system/oss', icon: '', noCache: true } } ] }, @@ -189,9 +189,8 @@ scrollBehavior(to, from, savedPosition) { if (savedPosition) { return savedPosition; - } else { - return { top: 0 }; } + return { top: 0 }; } }); -- Gitblit v1.9.3