From a49845f424ae5b1e43e391837a55c43ce07ea62d Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期三, 01 四月 2026 15:02:47 +0800
Subject: [PATCH] #前端

---
 rsf-design/src/api/system-manage.js |   24 ++++++++++++++----------
 1 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/rsf-design/src/api/system-manage.js b/rsf-design/src/api/system-manage.js
index a9b0a8d..407b47c 100644
--- a/rsf-design/src/api/system-manage.js
+++ b/rsf-design/src/api/system-manage.js
@@ -213,7 +213,10 @@
 }
 
 function fetchOperationRecordPage(params = {}) {
-  return request.post({ url: '/operationRecord/page', params: buildOperationRecordPageParams(params) })
+  return request.post({
+    url: '/operationRecord/page',
+    params: buildOperationRecordPageParams(params)
+  })
 }
 
 function fetchConfigPage(params = {}) {
@@ -611,7 +614,9 @@
 }
 
 function fetchGetMenuList(params = {}) {
-  return request.post({ url: '/menu/list', params }).then((menuList) => adaptLegacyMenuTree(buildLegacyMenuTree(menuList)))
+  return request
+    .post({ url: '/menu/list', params })
+    .then((menuList) => adaptLegacyMenuTree(buildLegacyMenuTree(menuList)))
 }
 
 function adaptLegacyMenuTree(menuTree) {
@@ -619,9 +624,7 @@
     return []
   }
 
-  return menuTree
-    .map((node) => adaptLegacyMenuNode(node))
-    .filter(Boolean)
+  return menuTree.map((node) => adaptLegacyMenuNode(node)).filter(Boolean)
 }
 
 function buildLegacyMenuTree(menuList) {
@@ -770,11 +773,12 @@
 }
 
 function buildLegacyMenuPath(node) {
-  const rawPath = typeof node.route === 'string' && node.route.trim()
-    ? node.route
-    : typeof node.path === 'string'
-      ? node.path
-      : ''
+  const rawPath =
+    typeof node.route === 'string' && node.route.trim()
+      ? node.route
+      : typeof node.path === 'string'
+        ? node.path
+        : ''
   return normalizeLegacyPath(rawPath)
 }
 

--
Gitblit v1.9.1