mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2025-11-12 14:27:49 +00:00
优化tabs以及缓存规则
This commit is contained in:
@@ -12,17 +12,17 @@ export default [{
|
|||||||
component: () => import('@/views/tools/TestPage.vue')
|
component: () => import('@/views/tools/TestPage.vue')
|
||||||
}, {
|
}, {
|
||||||
path: '/tables',
|
path: '/tables',
|
||||||
name: 'tables',
|
name: 'TablesBase',
|
||||||
children: [{
|
children: [{
|
||||||
path: '',
|
path: '',
|
||||||
name: 'tables-index',
|
name: 'Tables',
|
||||||
component: () => import('@/views/tools/Tables.vue')
|
component: () => import('@/views/tools/Tables.vue')
|
||||||
}, {
|
}, {
|
||||||
path: 'edit/:id',
|
path: 'edit/:id',
|
||||||
name: 'tables-edit',
|
name: 'TableEdit',
|
||||||
component: () => import('@/views/tools/TableEdit.vue'),
|
component: () => import('@/views/tools/TableEdit.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
replaceTabHistory: 'tables-index',
|
replaceTabHistory: 'Tables',
|
||||||
labelKey: 'common.label.edit',
|
labelKey: 'common.label.edit',
|
||||||
icon: 'Edit'
|
icon: 'Edit'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user