From 142bcc9b22f48a8a2098a66b2964fe10c97c6fe8 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 20 五月 2025 11:19:49 +0800
Subject: [PATCH] git ch

---
 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