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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/company/src/api/system/menu.js b/company/src/api/system/menu.js
index dde6d0f..af4ffb3 100644
--- a/company/src/api/system/menu.js
+++ b/company/src/api/system/menu.js
@@ -7,7 +7,7 @@
 
 // 鏌ヨ----浼佷笟鑿滃崟
 export function fetchTree1 (type) {
-  type = type || 1;
+  type = type==null?1:type;
   return request.post(`/system/menu/treeList/${type}`)
 }
 

--
Gitblit v1.9.3