forked from JointCloud/JCC-RIP
概览bug修复
This commit is contained in:
parent
1280329de3
commit
3dbef4aaae
|
@ -95,9 +95,9 @@ export default {
|
|||
if (item.path === 'edgenodeManagement' && edgeNodePage === 'false') {
|
||||
return false
|
||||
}
|
||||
// 判断概览页面的显示隐藏
|
||||
// 判断容器概览页面的显示隐藏
|
||||
const hasMonitorPage = localStorage.getItem('monitorPage')
|
||||
if (item.path === 'overview' && hasMonitorPage === 'false') {
|
||||
if (item.path === 'podOverview' && hasMonitorPage === 'false') {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
|
|
@ -11,7 +11,7 @@ const podRouter = {
|
|||
},
|
||||
children: [
|
||||
{
|
||||
path: 'overview',
|
||||
path: 'podOverview',
|
||||
component: () => import('@/views/overview/index'),
|
||||
name: 'clusterOverview',
|
||||
meta: { title: '概览', icon: 'gailan', affix: true }
|
||||
|
|
Loading…
Reference in New Issue