src/components/page/DocumentEditPage/index.jsx
@@ -99,6 +99,8 @@ _this.setState({ iconLoading: false, }); message.success("提交成功!"); this.props.history.goBack() }); // Fetch.savePatrolCom(savedate) // .then(res => { @@ -114,9 +116,9 @@ cancle = () => { // this.props.history.push("/index/workbench"); const { id } = this.props.match.params; if(id){ if (id) { this.props.history.goBack() }else { } else { this.props.history.push("/index/workbench"); } // console.log(this.props)