From aaf8a50511d77dbc209ca93bbba308c21179a8bc Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期二, 31 三月 2026 15:38:47 +0800
Subject: [PATCH] #前端
---
rsf-design/src/router/routes/staticRoutes.js | 89 +++-----------------------------------------
1 files changed, 7 insertions(+), 82 deletions(-)
diff --git a/rsf-design/src/router/routes/staticRoutes.js b/rsf-design/src/router/routes/staticRoutes.js
index 13cebd2..7dafda8 100644
--- a/rsf-design/src/router/routes/staticRoutes.js
+++ b/rsf-design/src/router/routes/staticRoutes.js
@@ -1,11 +1,4 @@
const staticRoutes = [
- // 涓嶉渶瑕佺櫥褰曞氨鑳借闂殑璺敱绀轰緥
- // {
- // path: '/welcome',
- // name: 'WelcomeStatic',
- // component: () => import('@views/dashboard/console/index.vue'),
- // meta: { title: 'menus.dashboard.title' }
- // },
{
path: '/dashboard',
component: () => import('@views/index/index.vue'),
@@ -21,74 +14,6 @@
icon: 'ri:home-smile-2-line',
keepAlive: false,
fixedTab: true
- }
- }
- ]
- },
- {
- path: '/basic-info',
- component: () => import('@views/index/index.vue'),
- name: 'BasicInfo',
- meta: { title: 'menu.basicInfo' },
- children: [
- {
- path: 'wh-mat',
- name: 'WhMat',
- component: () => import('@views/basic-info/wh-mat/index.vue'),
- meta: {
- title: 'menu.matnr',
- icon: 'ri:bill-line',
- keepAlive: false
- }
- },
- {
- path: 'matnr-group',
- name: 'MatnrGroup',
- component: () => import('@views/basic-info/matnr-group/index.vue'),
- meta: {
- title: 'menu.matnrGroup',
- icon: 'ri:git-branch-line',
- keepAlive: false
- }
- },
- {
- path: 'bas-container',
- name: 'BasContainer',
- component: () => import('@views/basic-info/bas-container/index.vue'),
- meta: {
- title: 'menu.basContainer',
- icon: 'ri:archive-line',
- keepAlive: false
- }
- },
- {
- path: 'warehouse',
- name: 'Warehouse',
- component: () => import('@views/basic-info/warehouse/index.vue'),
- meta: {
- title: 'menu.warehouse',
- icon: 'ri:store-2-line',
- keepAlive: false
- }
- },
- {
- path: 'warehouse-areas',
- name: 'WarehouseAreas',
- component: () => import('@views/basic-info/warehouse-areas/index.vue'),
- meta: {
- title: 'menu.warehouseAreas',
- icon: 'ri:layout-grid-line',
- keepAlive: false
- }
- },
- {
- path: 'loc',
- name: 'Loc',
- component: () => import('@views/basic-info/loc/index.vue'),
- meta: {
- title: 'menu.loc',
- icon: 'ri:map-pin-2-line',
- keepAlive: false
}
}
]
@@ -118,12 +43,6 @@
meta: { title: '403', isHideTab: true }
},
{
- path: '/:pathMatch(.*)*',
- name: 'Exception404',
- component: () => import('@views/exception/404/index.vue'),
- meta: { title: '404', isHideTab: true }
- },
- {
path: '/500',
name: 'Exception500',
component: () => import('@views/exception/500/index.vue'),
@@ -135,7 +54,6 @@
name: 'Outside',
meta: { title: 'menus.outside.title' },
children: [
- // iframe 鍐呭祵椤甸潰
{
path: '/outside/iframe/:path',
name: 'Iframe',
@@ -143,6 +61,13 @@
meta: { title: 'iframe' }
}
]
+ },
+ {
+ path: '/:pathMatch(.*)*',
+ name: 'Exception404',
+ component: () => import('@views/exception/404/index.vue'),
+ meta: { title: '404', isHideTab: true }
}
]
+
export { staticRoutes }
--
Gitblit v1.9.1