king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
src/mob/components/menubar/normal-menubar/index.jsx
@@ -123,7 +123,7 @@
   */
  deleteCard = (cell, type) => {
    let card = fromJS(this.state.card).toJS()
    let _this = this
    let that = this
    if (type !== 'direct') {
      confirm({
@@ -131,8 +131,8 @@
        onOk() {
          card.subMenus = card.subMenus.filter(item => item.uuid !== cell.uuid)
  
          _this.setState({card})
          _this.props.updateConfig(card)
          that.setState({card})
          that.props.updateConfig(card)
        },
        onCancel() {}
      })