From b9b44b51b201e2f5a9a1f3665c7fb76b5690f9af Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期一, 23 十二月 2024 16:13:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
UI-Project/src/router/index.js | 42 ------------------------------------------
1 files changed, 0 insertions(+), 42 deletions(-)
diff --git a/UI-Project/src/router/index.js b/UI-Project/src/router/index.js
index 73a2754..d750e60 100644
--- a/UI-Project/src/router/index.js
+++ b/UI-Project/src/router/index.js
@@ -27,8 +27,6 @@
name: 'main',
component: () => import('../layout/MainErpView.vue'),
children:[
-
-
{
path: 'Temperedlayout',
name: 'Temperedlayout',
@@ -41,45 +39,12 @@
}
]
},
-
-/*----------- 鐢ㄦ埛鍒楄〃 ----------------*/
-// {
-// path: 'User',
-// name: 'User',
-// component: () => import('../views/User/userlist.vue'),
-// children:[
-// {
-// path: '/User/userlist',
-// name: 'userlist',
-// component: () => import('../views/User/userlist.vue')
-// },
-// ]
-// },
-
-/*----------- 鏉冮檺鍒楄〃 ----------------*/
-// {
-// path: 'Permissions',
-// name: 'Permissions',
-// component: () => import('../views/Permissions/permissionslist.vue'),
-// children:[
-// {
-// path: '/Permissions/permissionslist',
-// name: 'permissionslist',
-// component: () => import('../views/Permissions/permissionslist.vue')
-// },
-// ]
-// },
/*----------- 涓婄墖鏈� ----------------*/
{
path: 'Returns',
name: 'return',
component: () => import('../views/Returns/return.vue'),
children:[
- {
- path: '/Returns/returns',
- name: 'returns',
- component: () => import('../views/Returns/returns.vue')
- },
{
path: '/Returns/upreturns',
name: 'upreturns',
@@ -125,11 +90,6 @@
path: '/Caching/cachingun',
name: 'cachingun',
component: () => import('../views/Caching/cachingun.vue')
- },
- {
- path: '/Caching/cachingyiwu',
- name: 'cachingyiwu',
- component: () => import('../views/Caching/cachingyiwu.vue')
},
]
},
@@ -354,10 +314,8 @@
name: 'register',
component: () => import('../views/RegisterView.vue')
}
-
]
})
-
// 瀵艰埅瀹堝崼
router.beforeEach((to, from, next) => {
const isAuthenticated = !!localStorage.getItem('authToken'); // 鍋囪杩欐槸浣犵殑鐧诲綍鐘舵�佹鏌ラ�昏緫
--
Gitblit v1.8.0