king
2024-08-25 ae170a9d58b4f91a225eada1dc83ed4a116b8d50
src/menu/components/carousel/data-card/index.jsx
@@ -141,14 +141,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() {}
    })