From 88218d4c0aa344ae1d9f949d2465e1d143f2d3dc Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 05 九月 2025 14:31:25 +0800 Subject: [PATCH] 打包配置 --- src/router/index.js | 57 ++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 34 insertions(+), 23 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index f6f0299..9cfde33 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -43,6 +43,11 @@ hidden: true }, { + path: "/callbacklccpn", + component: () => import("@/views/tideLogin.vue"), + hidden: true, + }, + { path: '/register', component: () => import('@/views/register'), hidden: true @@ -72,20 +77,41 @@ ] }, { + path: '/main/MobileChat', + component: Layout, + redirect: '', + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/chatHome/chatHomeIndex/MobileChat'), + name: 'MobileChat', + meta: { title: 'AI瀵硅瘽', icon: 'dashboard', affix: true} + } + ] + }, + { path: '/user', component: Layout, hidden: true, redirect: 'noredirect', children: [ { - path: 'profile', - component: () => import('@/views/system/user/profile/index'), - name: 'Profile', - meta: { title: '涓汉涓績', icon: 'user' } - } - ] - } -] + path: "profile", + component: () => import("@/views/system/user/profile/index"), + name: "Profile", + meta: { title: "涓汉涓績", icon: "user" }, + }, + ], + }, + { + path: "/device-info", + component: () => import("@/views/equipmentManagement/deviceInfo/index.vue"), + hidden: true, + name: "DeviceInfo", + meta: { title: "璁惧淇℃伅", icon: "monitor" }, + }, +]; // 鍔ㄦ�佽矾鐢憋紝鍩轰簬鐢ㄦ埛鏉冮檺鍔ㄦ�佸幓鍔犺浇 export const dynamicRoutes = [ @@ -100,21 +126,6 @@ component: () => import('@/views/system/user/authRole'), name: 'AuthRole', meta: { title: '鍒嗛厤瑙掕壊', activeMenu: '/system/user' } - } - ] - }, - { - path: '/main/MobileChat', - component: Layout, - redirect: '', - hidden: true, - permissions: ['MobileChat:edit'], - children: [ - { - path: '', - component: () => import('@/views/chatHome/chatHomeIndex/MobileChat'), - name: 'MobileChat', - meta: { title: 'AI瀵硅瘽', activeMenu: '/chatHome/chatHomeIndex'} } ] }, -- Gitblit v1.9.3