From 11cd6f4d30fbae557d18aaa44afc0b32de54ad32 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期四, 29 八月 2024 15:04:07 +0800 Subject: [PATCH] 更新登录 --- se-ui/src/router/index.js | 29 +++++++++++++++-------------- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/se-ui/src/router/index.js b/se-ui/src/router/index.js index 71907b6..6b1ce51 100644 --- a/se-ui/src/router/index.js +++ b/se-ui/src/router/index.js @@ -41,11 +41,11 @@ } ] }, - { - path: '/login', - component: () => import('@/views/login'), - hidden: true - }, + // { + // path: '/login', + // component: () => import('@/views/login'), + // hidden: true + // }, { path: '/register', component: () => import('@/views/register'), @@ -64,15 +64,15 @@ { path: '', component: Layout, - redirect: 'index', - children: [ - { - path: 'index', - component: () => import('@/views/index'), - name: 'Index', - meta: { title: '棣栭〉', icon: 'dashboard', affix: true } - } - ] + redirect: 'system/user', + // children: [ + // { + // path: 'index', + // component: () => import('@/views/index'), + // name: 'Index', + // meta: { title: '棣栭〉', icon: 'dashboard', affix: true } + // } + // ] }, { path: '/user', @@ -178,6 +178,7 @@ export default new Router({ mode: 'history', // 鍘绘帀url涓殑# + base: process.env.VUE_APP_ITEM_PATH, scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) -- Gitblit v1.9.3