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