瀏覽代碼

Update index.js

WongBin 4 年之前
父節點
當前提交
5128e0d813
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 } },
     ]
   },
   {