From 5128e0d813bba3e3dafbc6fdc596face60cf27fa Mon Sep 17 00:00:00 2001 From: WongBin Date: Sun, 18 Jul 2021 14:29:05 +0800 Subject: [PATCH] Update index.js --- report-ui/src/router/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report-ui/src/router/index.js b/report-ui/src/router/index.js index 7ab53903..e952d54a 100644 --- a/report-ui/src/router/index.js +++ b/report-ui/src/router/index.js @@ -42,7 +42,7 @@ export const constantRouterMap = [ name: '首页', meta: { title: '首页', icon: 'iconhome2' }, children: [ - { path: '', name: 'accessUser', component: () => import('@/views/home/index'), meta: { title: '首页', icon: 'iconhome2', keepAlive: true, isBack: true } }, + { path: '', name: 'accessUser', component: () => import('@/views/home/index'), meta: { title: '首页', icon: 'iconhome2', keepAlive: true, isBack: true, requireAuth: true } }, ] }, {