king
2022-05-12 11745b05b3ecdd3a3dc6f64793dc83a095de2b09
src/menu/components/card/cardcellcomponent/index.jsx
@@ -269,10 +269,12 @@
    if (card.eleType === 'button') {
      this.handleAction(card)
    } else {
      let anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, cards.uuid) || []
      this.setState({
        visible: true,
        card: card,
        formlist: getCardCellForm(card, cards.type, cards.subtype, cardCell)
        formlist: getCardCellForm(card, cards.type, cards.subtype, cardCell, anchors)
      })
    }
  }
@@ -311,11 +313,12 @@
    }
    let modules = MenuUtils.getSubModules(window.GLOB.customMenu.components, cards.uuid) || []
    let anchors = MenuUtils.getAnchors(window.GLOB.customMenu.components, cards.uuid) || []
    this.setState({
      actvisible: true,
      card: card,
      formlist: getActionForm(card, functip, cards, usefulFields, 'card', menulist, modules)
      formlist: getActionForm(card, functip, cards, usefulFields, 'card', menulist, modules, anchors)
    })
  }