king
2024-10-11 8e003c1a94d26cc4d477e7aa03593ccb4d7e6c61
src/menu/components/card/table-card/index.jsx
@@ -164,14 +164,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() {}
    })