From 2671888e8977e3e84d29130f32f113bb8154d8e5 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 02 九月 2024 11:26:38 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/se-cloud

---
 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