From f78b3dda14f1f3937c801087ee761ecef966cd10 Mon Sep 17 00:00:00 2001 From: flower-string <2178503051@qq.com> Date: Fri, 7 Mar 2025 14:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E9=A1=B5=E9=9D=A2=E7=9A=84=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/router/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index f314430..1c70b6e 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -91,6 +91,7 @@ export const constantRoutes = [ path: '/temp', component: () => import('@/views/temp'), name: 'Temp', + hidden: true, // 隐藏路由 meta: { title: '临时页面', icon: 'dashboard', affix: true }, beforeEnter: (to, from, next) => { // 从本地存储获取角色信息