fix: preserve disk monitor static routes
This commit is contained in:
@@ -7,7 +7,19 @@ import { useAuthStore } from '@/stores/modules/auth'
|
||||
|
||||
// 引入 views 文件夹下所有 vue 文件
|
||||
const modules = import.meta.glob('@/views/**/*.vue')
|
||||
const STATIC_ROUTE_NAMES = new Set(['layout', 'login', 'home', 'tools', 'toolWaveform', 'toolMmsMapping', '403', '404', '500'])
|
||||
const STATIC_ROUTE_NAMES = new Set([
|
||||
'layout',
|
||||
'login',
|
||||
'home',
|
||||
'tools',
|
||||
'toolWaveform',
|
||||
'toolMmsMapping',
|
||||
'systemMonitor',
|
||||
'diskMonitor',
|
||||
'403',
|
||||
'404',
|
||||
'500'
|
||||
])
|
||||
|
||||
let isInitializing = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user