king
2024-04-29 50b49c1b760489c3430fc382656d57c5fbbab07c
src/menu/components/card/data-card/index.jsx
@@ -370,6 +370,19 @@
  updateWrap = (res) => {
    const { card } = this.state
    if (res.interaction) {
      if (res.interaction.includes('scale')) {
        res.scale = 'true'
      }
      if (res.interaction.includes('parity')) {
        res.parity = 'true'
      }
      if (res.interaction.includes('hover')) {
        res.hover = 'true'
      }
      delete res.interaction
    }
    let _card = {...card, wrap: res}
    if (res.supNodes) {
@@ -538,7 +551,7 @@
            <PlusOutlined className="plus" title="添加卡片" onClick={() => this.addCard()}/>
            {appType !== 'mob' ? <PlusCircleOutlined className="plus" title="添加搜索" onClick={() => this.addSearch()}/> : null}
            <PlusSquareOutlined className="plus" title="添加按钮" onClick={() => this.addButton()}/>
            <NormalForm title="数据卡设置" width={800} update={this.updateWrap} getForms={this.getWrapForms}>
            <NormalForm title="数据卡设置" width={850} update={this.updateWrap} getForms={this.getWrapForms}>
              <EditOutlined style={{color: '#1890ff'}} title="编辑"/>
            </NormalForm>
            <CopyComponent type="datacard" card={card}/>