概览bug修复

This commit is contained in:
jhnine 2022-11-24 17:35:31 +08:00
parent 1280329de3
commit 3dbef4aaae
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -11,7 +11,7 @@ const podRouter = {
},
children: [
{
path: 'overview',
path: 'podOverview',
component: () => import('@/views/overview/index'),
name: 'clusterOverview',
meta: { title: '概览', icon: 'gailan', affix: true }