feat: 离开编辑页面时的提示

This commit is contained in:
wenbo.dong 2017-09-27 21:30:03 +08:00
parent afc1bb8a29
commit f01be03fa8

View File

@ -45,7 +45,7 @@ class Content extends Component {
const params = this.props.match.params; const params = this.props.match.params;
this.actionId = params.actionId; this.actionId = params.actionId;
this.handleRequest(this.props); this.handleRequest(this.props);
window.confirm = () => {}; // window.confirm = () => {};
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {