mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-02 15:36:56 +00:00
[Update] 修改平台列表路由高亮
This commit is contained in:
parent
0ca3363fcc
commit
a3aa808468
@ -236,21 +236,21 @@ export default [
|
||||
path: 'create',
|
||||
component: () => import('@/views/assets/Platform/PlatformCreateUpdate.vue'), // Parent router-view
|
||||
name: 'PlatformCreate',
|
||||
meta: { title: i18n.t('route.PlatformCreate'), activeMenu: '/assets/platform' },
|
||||
meta: { title: i18n.t('route.PlatformCreate'), activeMenu: '/assets/platforms' },
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: ':id/update',
|
||||
component: () => import('@/views/assets/Platform/PlatformCreateUpdate.vue'), // Parent router-view
|
||||
name: 'PlatformUpdate',
|
||||
meta: { title: i18n.t('route.PlatformUpdate'), activeMenu: '/assets/platform', permissions: [rolec.PERM_SUPER] },
|
||||
meta: { title: i18n.t('route.PlatformUpdate'), activeMenu: '/assets/platforms', permissions: [rolec.PERM_SUPER] },
|
||||
hidden: true
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
component: () => import('@/views/assets/Platform/PlatformDetail.vue'), // Parent router-view
|
||||
name: 'PlatformDetail',
|
||||
meta: { title: i18n.t('route.PlatformDetail'), activeMenu: '/assets/platform' },
|
||||
meta: { title: i18n.t('route.PlatformDetail'), activeMenu: '/assets/platforms' },
|
||||
hidden: true
|
||||
}
|
||||
]
|
||||
|
@ -26,7 +26,7 @@ export default {
|
||||
activeMenu: 'Detail',
|
||||
submenu: [
|
||||
{
|
||||
title: this.$t('assets.PlatformDetail'),
|
||||
title: this.$t('common.BasicInfo'),
|
||||
name: 'Detail'
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user