king
2025-04-21 f3d4db769ba9b51b799d981511a710fd443d0e08
src/menu/components/carousel/data-card/index.jsx
@@ -115,6 +115,10 @@
      card.$tables = getTables(card)
    }
    delete card.$c_ds
    delete card.$c_ac
    delete card.$c_sc
    this.setState({
      card: card
    })
@@ -141,14 +145,14 @@
   */
  deleteCard = (cell) => {
    let card = fromJS(this.state.card).toJS()
    let _this = this
    let that = this
    confirm({
      content: '确定删除卡片吗?',
      onOk() {
        card.subcards = card.subcards.filter(item => item.uuid !== cell.uuid)
        _this.updateComponent(card)
        that.updateComponent(card)
      },
      onCancel() {}
    })