From 09da100729793848bc01b51f7b05ca3f1e7ec64f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 20 六月 2024 14:05:35 +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