From 9ed3ae3fab3863ff15bcdae9adab94a8371991cb Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 27 十月 2024 23:29:36 +0800 Subject: [PATCH] fix 修复 内嵌页面数据缓存导致与外部页面不一致问题 --- src/router/index.ts | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 2343685..6c12791 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -103,7 +103,7 @@ path: 'role/:userId(\\d+)', component: () => import('@/views/system/user/authRole.vue'), name: 'AuthRole', - meta: { title: '鍒嗛厤瑙掕壊', activeMenu: '/system/user', icon: '' } + meta: { title: '鍒嗛厤瑙掕壊', activeMenu: '/system/user', icon: '', noCache: true } } ] }, @@ -117,7 +117,7 @@ path: 'user/:roleId(\\d+)', component: () => import('@/views/system/role/authUser.vue'), name: 'AuthUser', - meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role', icon: '' } + meta: { title: '鍒嗛厤鐢ㄦ埛', activeMenu: '/system/role', icon: '', noCache: true } } ] }, @@ -131,7 +131,7 @@ path: 'index/:dictId(\\d+)', component: () => import('@/views/system/dict/data.vue'), name: 'Data', - meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict', icon: '' } + meta: { title: '瀛楀吀鏁版嵁', activeMenu: '/system/dict', icon: '', noCache: true } } ] }, @@ -145,7 +145,7 @@ path: 'index', component: () => import('@/views/system/oss/config.vue'), name: 'OssConfig', - meta: { title: '閰嶇疆绠$悊', activeMenu: '/system/oss', icon: '' } + meta: { title: '閰嶇疆绠$悊', activeMenu: '/system/oss', icon: '', noCache: true } } ] }, @@ -159,21 +159,21 @@ path: 'index/:tableId(\\d+)', component: () => import('@/views/tool/gen/editTable.vue'), name: 'GenEdit', - meta: { title: '淇敼鐢熸垚閰嶇疆', activeMenu: '/tool/gen', icon: '' } + meta: { title: '淇敼鐢熸垚閰嶇疆', activeMenu: '/tool/gen', icon: '', noCache: true } } ] }, { - path: '/demo/leaveEdit', + path: '/workflow/leaveEdit', component: Layout, hidden: true, - permissions: ['demo:leave:edit'], + permissions: ['workflow:leave:edit'], children: [ { path: 'index', component: () => import('@/views/workflow/leave/leaveEdit.vue'), name: 'leaveEdit', - meta: { title: '璇峰亣鐢宠', activeMenu: '/demo/leave', noCache: true } + meta: { title: '璇峰亣鐢宠', activeMenu: '/workflow/leave', noCache: true } } ] } -- Gitblit v1.9.3