From 532ff11cc85e0a577ea0a102748861ebe17ed6d0 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期三, 12 十一月 2025 15:39:11 +0800
Subject: [PATCH] 1
---
src/store/modules/permission.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 49 insertions(+), 6 deletions(-)
diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js
index ac7bf4d..4f09f67 100644
--- a/src/store/modules/permission.js
+++ b/src/store/modules/permission.js
@@ -133,13 +133,57 @@
// icon: "build",
// link: null,
// noCache: false,
- // title: "鐢熶骇浠撳簱鍒楄〃",
+ // title: "鐢熶骇璧勬枡鍒楄〃",
// },
- // component: () => import('@/views/basic/gyWarehouse/index.vue'),
+ // component: () =>
+ // import("@/views/basic/production/gySource.vue"),
// hidden: false,
- // name: "GyWarehouse",
- // path: "gyWarehouse",
- // },
+ // name: "GySource",
+ // path: "gySource",
+ // }
+ ],
+ },
+ ],
+ },{
+ alwaysShow: true,
+ component: "Layout",
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "绯荤粺绠$悊",
+ },
+ hidden: false,
+ name: "System",
+ path: "/system",
+ redirect: "noRedirect",
+ children: [
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "鐢ㄦ埛绠$悊",
+ },
+ hidden: false,
+ name: "User",
+ path: "user",
+ redirect: "noRedirect",
+ component: "Layout",
+ children: [
+ {
+ meta: {
+ icon: "build",
+ link: null,
+ noCache: false,
+ title: "鐢ㄦ埛鍒楄〃",
+ },
+ component: () =>
+ import("@/views/system/user/xtUserList.vue"),
+ hidden: false,
+ name: "XtUserList",
+ path: "xtUserList",
+ },
],
},
],
@@ -154,7 +198,6 @@
rewriteRoutes.push({ path: "*", redirect: "/404", hidden: true });
router.addRoutes(asyncRoutes);
commit("SET_ROUTES", rewriteRoutes);
- commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
commit("SET_SIDEBAR_ROUTERS", constantRoutes.concat(sidebarRoutes));
commit("SET_DEFAULT_ROUTES", sidebarRoutes);
commit("SET_TOPBAR_ROUTES", sidebarRoutes);
--
Gitblit v1.9.1