From 3a45da15c947c2d478a44a51bd0f926647b1b841 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 11 四月 2025 16:33:17 +0800
Subject: [PATCH] 提交
---
company/src/api/system/menu.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/company/src/api/system/menu.js b/company/src/api/system/menu.js
index 170973f..af4ffb3 100644
--- a/company/src/api/system/menu.js
+++ b/company/src/api/system/menu.js
@@ -6,8 +6,9 @@
}
// 鏌ヨ----浼佷笟鑿滃崟
-export function fetchTree1 () {
- return request.post(`/system/menu/treeList/1`)
+export function fetchTree1 (type) {
+ type = type==null?1:type;
+ return request.post(`/system/menu/treeList/${type}`)
}
// 鏂板缓
--
Gitblit v1.9.3