king
2024-03-08 2a6a3b7d14e3d4f1dcfc72c3f9fbef8dd20238c2
src/menu/components/share/actioncomponent/index.jsx
@@ -206,8 +206,10 @@
        supId = ''
      }
    }
    let menu = window.GLOB.customMenu
    
    let modules = MenuUtils.getSubModules(window.GLOB.customMenu.components, config.uuid, supId, config.subtype !== 'basetable')
    let modules = MenuUtils.getSubModules(menu.components, config.uuid, supId, menu.interfaces || null)
    if (config.subtype === 'basetable') {
      delete card.eleType // 区分按钮位置
@@ -218,7 +220,7 @@
        formlist: getBaseTableActionForm(card, functip, config, usefulFields, modules)
      })
    } else {
      let anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, config.uuid) || []
      let anchors = MenuUtils.getAnchors(menu.components, config.uuid) || []
  
      this.setState({
        visible: true,
@@ -283,12 +285,17 @@
              output: 'true',
              required: 'false',
              type: 'text',
              noValue: 'true',
              uuid: Utils.getuuid()
            }
  
            if (item.type === 'number') {
              cell.type = 'number'
              cell.decimal = item.decimal
              if (item.noValue === 'hide') {
                cell.noValue = 'false'
              }
            }
  
            columns.push(cell)