king
2020-11-25 9cf5fc474d2159aad973e3208fbef670f325307f
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({