src/views/design/sidemenu/editsecmenu/index.jsx
@@ -106,6 +106,7 @@ } handleSubBtn = (type) => { const that = this if (type === 'confirm') { // 保存调整后的顺序 let param = { func: 'sPC_Menu_SortUpt', @@ -139,13 +140,11 @@ }) } else if (type === 'close') { // 退出编辑 if (this.state.change) { let _this = this confirm({ title: '菜单顺序已调整,放弃保存吗?', content: '', onOk() { _this.props.exitEdit() that.props.exitEdit() }, onCancel() {} })