From fd6bf84d87d1773dcb53a47d6fafdd39dfd28e13 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 07 Jan 2026 14:58:26 +0800
Subject: [PATCH] feat:菜单默认基础配置,相关处理
---
applications/drone-command/src/store/modules/user.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applications/drone-command/src/store/modules/user.js b/applications/drone-command/src/store/modules/user.js
index 181b52d..3950b41 100644
--- a/applications/drone-command/src/store/modules/user.js
+++ b/applications/drone-command/src/store/modules/user.js
@@ -280,7 +280,7 @@
})
}
return new Promise(resolve => {
- getRoutes({tenantId,sysType: 1}).then(res => {
+ getRoutes({tenantId,sysType: 5}).then(res => {
const data = res.data.data;
let menu = deepClone(data);
if (!res.data?.data?.length){
@@ -299,7 +299,7 @@
},
GetButtons({ commit }) {
return new Promise(resolve => {
- getButtons({sysType: 1}).then(res => {
+ getButtons({sysType: 5}).then(res => {
const data = res.data.data;
commit('SET_PERMISSION', data);
resolve();
--
Gitblit v1.9.3