src/router/admin.routes.ts
@@ -2,6 +2,32 @@ const routes: RouteVO[] = [ { path: "/device", component: "Layout", redirect: "/device/real", name: "/device", meta: { title: "设备管理", icon: "system", hidden: false, alwaysShow: false, }, children: [ { path: "real", component: "device/index", name: "DeviceReal", meta: { title: "设备实时管理", icon: "el-icon-User", hidden: false, keepAlive: true, alwaysShow: false, }, }, ], }, { path: "/system", component: "Layout", redirect: "/system/user", @@ -24,7 +50,6 @@ keepAlive: true, alwaysShow: false, }, children: [], }, ], },