소스 검색

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: [
         {