Pārlūkot izejas kodu

Update index.js

WongBin 4 gadi atpakaļ
vecāks
revīzija
5128e0d813
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      report-ui/src/router/index.js

+ 1 - 1
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 } },
     ]
   },
   {