设备监控

This commit is contained in:
仲么了
2024-01-11 08:54:09 +08:00
parent abb832b824
commit 442b056d6b
14 changed files with 495 additions and 126 deletions

View File

@@ -98,7 +98,7 @@ const init = async () => {
icon: 'el-icon-List',
menu_type: 'tab',
url: '',
component: '/src/views/govern/device/manage.vue',
component: '/src/views/govern/device/control.vue',
keepalive: 'auth/role',
extend: 'none',
children: []
@@ -291,6 +291,7 @@ const init = async () => {
data.forEach((item: any) => {
item.path = item.routePath
item.name = item.title
item.keepalive = item.routePath
item.component = item.routeName || '/src/views/Event-boot/Region/overview.vue'
item.type = item.children && item.children.length > 0 ? 'menu_dir' : 'menu'
item.menu_type = item.children && item.children.length > 0 ? null : 'tab'