src/templates/treepageconfig/index.jsx
@@ -72,7 +72,6 @@ _config.MenuID = menu.MenuID || '' // 配置默认值,兼容 // _config.Template = 'TreePage' _config.easyCode = _config.easyCode || '' if (_config.type === 'user') { @@ -444,13 +443,13 @@ */ cancelConfig = () => { // const { config, originMenu } = this.state // let _this = this // let that = this // if (config.isAdd) { // confirm({ // content: '菜单尚未提交,确定放弃保存吗?', // onOk() { // _this.props.handleView() // that.props.handleView() // }, // onCancel() {} // })