From ad001f76b662c8d1ddebe8aca090ed225b98fdf9 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 17 Mar 2026 10:08:40 +0800
Subject: [PATCH] 修改
---
src/router/index.js | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index 2870686..c0083de 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -116,15 +116,27 @@
{
path: '',
component: Layout,
- redirect: 'dashboard',
+ //修改默认首页跳转 2023年7月22 日 LouGe
+ redirect: 'enterprise/basic',
children: [
{
path: 'dashboard',
component: () => import('@/views/dashboard/index'),
name: 'Dashboard1',
meta: { title: '首页', icon: 'el-icon-dash', noCache: true, affix: true }
- }
-
+ },
+ {
+ path: 'stockManage',
+ component: () => import('@/views/stock/stockManage'),
+ name: 'stockManage',
+ meta: { title: '库房管理', icon: 'el-icon-dash', noCache: true, affix: true }
+ },
+ {
+ path: 'stockSupervision',
+ component: () => import('@/views/stock/stockSupervision'),
+ name: 'stockSupervision',
+ meta: { title: '库房监管', icon: 'el-icon-dash', noCache: true, affix: true }
+ }
],
hidden: true
},
@@ -155,7 +167,7 @@
}
],
hidden: true
- },
+ }
]
export default new Router({
--
Gitblit v1.9.2