|
|
@@ -283,7 +283,25 @@ const lowcode = {
|
|
|
link: true
|
|
|
}
|
|
|
|
|
|
-const _routes = [iot, rts, schedule, view, lowcode] as any
|
|
|
+const user = {
|
|
|
+ path: '/user',
|
|
|
+ name: '用户群组',
|
|
|
+ meta: {
|
|
|
+ title: '用户群组'
|
|
|
+ },
|
|
|
+ component: () => import('@/layout/layout.vue'),
|
|
|
+ redirect: '/manage',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: '/manage',
|
|
|
+ name: '用户管理',
|
|
|
+ icon: 'PlayCircleOutlined',
|
|
|
+ component: () => import('@/pages/user/manage/index.vue')
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|
|
|
+
|
|
|
+const _routes = [iot, rts, schedule, view, lowcode, user] as any
|
|
|
|
|
|
if (_routes[0].link) {
|
|
|
window.open(_routes[0].path)
|