[Update] 修改平台列表路由高亮

This commit is contained in:
Bai 2020-06-12 11:32:39 +08:00
parent 0ca3363fcc
commit a3aa808468
2 changed files with 4 additions and 4 deletions

View File

@ -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
}
]

View File

@ -26,7 +26,7 @@ export default {
activeMenu: 'Detail',
submenu: [
{
title: this.$t('assets.PlatformDetail'),
title: this.$t('common.BasicInfo'),
name: 'Detail'
}
],