fix 修复 内嵌页面数据缓存导致与外部页面不一致问题

This commit is contained in:
疯狂的狮子Li 2024-10-27 23:29:36 +08:00
parent 28a81f2e44
commit 9ed3ae3fab

View File

@ -103,7 +103,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
path: 'role/:userId(\\d+)', path: 'role/:userId(\\d+)',
component: () => import('@/views/system/user/authRole.vue'), component: () => import('@/views/system/user/authRole.vue'),
name: 'AuthRole', name: 'AuthRole',
meta: { title: '分配角色', activeMenu: '/system/user', icon: '' } meta: { title: '分配角色', activeMenu: '/system/user', icon: '', noCache: true }
} }
] ]
}, },
@ -117,7 +117,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
path: 'user/:roleId(\\d+)', path: 'user/:roleId(\\d+)',
component: () => import('@/views/system/role/authUser.vue'), component: () => import('@/views/system/role/authUser.vue'),
name: 'AuthUser', name: 'AuthUser',
meta: { title: '分配用户', activeMenu: '/system/role', icon: '' } meta: { title: '分配用户', activeMenu: '/system/role', icon: '', noCache: true }
} }
] ]
}, },
@ -131,7 +131,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
path: 'index/:dictId(\\d+)', path: 'index/:dictId(\\d+)',
component: () => import('@/views/system/dict/data.vue'), component: () => import('@/views/system/dict/data.vue'),
name: 'Data', name: 'Data',
meta: { title: '字典数据', activeMenu: '/system/dict', icon: '' } meta: { title: '字典数据', activeMenu: '/system/dict', icon: '', noCache: true }
} }
] ]
}, },
@ -145,7 +145,7 @@ export const dynamicRoutes: RouteRecordRaw[] = [
path: 'index', path: 'index',
component: () => import('@/views/system/oss/config.vue'), component: () => import('@/views/system/oss/config.vue'),
name: 'OssConfig', name: 'OssConfig',
meta: { title: '配置管理', activeMenu: '/system/oss', icon: '' } meta: { title: '配置管理', activeMenu: '/system/oss', icon: '', noCache: true }
} }
] ]
}, },