From 9cf5fc474d2159aad973e3208fbef670f325307f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 25 十一月 2020 17:57:41 +0800
Subject: [PATCH] 2020-11-25

---
 src/menu/actioncomponent/index.jsx |   26 +-------------------------
 1 files changed, 1 insertions(+), 25 deletions(-)

diff --git a/src/menu/actioncomponent/index.jsx b/src/menu/actioncomponent/index.jsx
index 14507c5..56c3f6d 100644
--- a/src/menu/actioncomponent/index.jsx
+++ b/src/menu/actioncomponent/index.jsx
@@ -177,31 +177,7 @@
       <p>{this.state.dict['model.tooltip.func.outface']}</p>
     </div>
 
-    let menulist = []
-
-    if (menu.fstMenuList) {
-      let trees = fromJS(menu.fstMenuList).toJS()
-
-      menulist = trees.map(fst => {
-        fst.value = fst.MenuID
-        fst.label = fst.MenuName
-        fst.isLeaf = false
-        fst.children = fst.children.map(snd => {
-          snd.value = snd.MenuID
-          snd.label = snd.MenuName
-
-          snd.children = snd.children.map(thd => {
-            thd.value = thd.MenuID
-            thd.label = thd.MenuName
-            thd.disabled = thd.MenuID === menu.MenuID
-            return thd
-          })
-          return snd
-        })
-        return fst
-      })
-    }
-
+    let menulist = menu.fstMenuList ? menu.fstMenuList : []
     let modules = this.getModules(menu.components, config.uuid)
 
     this.setState({

--
Gitblit v1.8.0