From e52fe71fb9c6dd82f996a9db07b2bd765c27f09b Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Tue, 21 Jan 2025 16:36:58 +0800
Subject: [PATCH] 添加校验
---
src/router/index.js | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/router/index.js b/src/router/index.js
index d57f811..c0083de 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -116,14 +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
},
--
Gitblit v1.9.2