mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-30 13:20:24 +08:00
feat: 离开编辑页面时的提示
This commit is contained in:
parent
35b8718b1e
commit
d69b8b72c3
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user