|
|
|
@ -12,9 +12,13 @@ class Bottomsubmit extends Component {
|
|
|
|
|
|
|
|
|
|
cannelfun = () => {
|
|
|
|
|
// window.location.href=
|
|
|
|
|
if(this.props.Cohetepaperbool===true){
|
|
|
|
|
this.props.setCohetepaperbool(false);
|
|
|
|
|
}else {
|
|
|
|
|
try {
|
|
|
|
|
if(this.props.Cohetepaperbool===true){
|
|
|
|
|
this.props.setCohetepaperbool(false);
|
|
|
|
|
}else {
|
|
|
|
|
this.props.history.replace(this.props.url);
|
|
|
|
|
}
|
|
|
|
|
}catch (e) {
|
|
|
|
|
this.props.history.replace(this.props.url);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|