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() {} })