king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
src/menu/components/search/main-search/index.jsx
@@ -289,15 +289,15 @@
   * @description 搜索条件删除
   */
  deleteElement = (cell) => {
    let _this = this
    let that = this
    confirm({
      content: `确定删除 - ${cell.label} ?`,
      onOk() {
        let _card = fromJS(_this.state.card).toJS()
        let _card = fromJS(that.state.card).toJS()
        _card.search = _card.search.filter(item => item.uuid !== cell.uuid)
        _this.updateComponent(_card)
        that.updateComponent(_card)
      },
      onCancel() {}
    })