diff --git a/web/src/router/index.js b/web/src/router/index.js index ab3f885dd..6a8eee5f3 100644 --- a/web/src/router/index.js +++ b/web/src/router/index.js @@ -43,10 +43,12 @@ export const constantRoutes = [ hidden: true }, + // 控制台暂时隐藏,后续对接AIOT主平台 { path: '/', component: Layout, - redirect: '/dashboard', + redirect: '/channel', + hidden: true, children: [{ path: 'dashboard', name: '控制台', @@ -55,10 +57,12 @@ export const constantRoutes = [ }] }, + // 分屏监控暂时隐藏,后续对接AIOT主平台 { path: '/live', component: Layout, redirect: '/live', + hidden: true, children: [{ path: '', name: 'Live', @@ -262,10 +266,12 @@ export const constantRoutes = [ // meta: { title: '算法配置', icon: 'algorithm' } // }] // }, + // 用户管理暂时隐藏,后续对接AIOT主平台权限系统 { path: '/user', component: Layout, redirect: '/user', + hidden: true, children: [ { path: '',