ソースを参照

Merge branch 'master' of http://120.26.64.82:3000/BFFE/CABaggageData2.0

zhongxiaoyu 2 年 前
コミット
0bdb655aa3
1 ファイル変更3 行追加2 行削除
  1. 3 2
      src/router/routes/routes-file-four.js

+ 3 - 2
src/router/routes/routes-file-four.js

@@ -75,7 +75,7 @@ const authorityRoutes = {
 const roleRoutes = {
   path: '/role',
   component: Layout,
-  meta: { roles: ['role_menu'] },
+  meta: { roles: ['role_menu'], keepAlive: true },
   children: [
     {
       path: '/role',
@@ -84,7 +84,8 @@ const roleRoutes = {
         title: '角色管理',
         icon: 'role',
         imgstyle: 'ic_list_nav_character_default.png',
-        imgstyleup: 'ic_list_nav_character_check.png'
+        imgstyleup: 'ic_list_nav_character_check.png',
+        keepAlive: true
       },
       children: [
         {