mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-07 14:16:52 +08:00
feat: 离开编辑页面时的提示
This commit is contained in:
parent
afc1bb8a29
commit
f01be03fa8
@ -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