|
|
|
@ -268,25 +268,23 @@ class Trialapplication extends Component {
|
|
|
|
|
reason: this.state.reason,
|
|
|
|
|
}).then((result) => {
|
|
|
|
|
// console.log(result);
|
|
|
|
|
try {
|
|
|
|
|
// this.onTabChange("1");
|
|
|
|
|
thiss.props.showNotification(`试用申请已提交,我们将尽快完成审核`);
|
|
|
|
|
if (thiss.state.showTrial === false) {
|
|
|
|
|
if(result !== undefined){
|
|
|
|
|
this.props.showNotification(`试用申请已提交,我们将尽快完成审核`);
|
|
|
|
|
if (this.state.showTrial === false) {
|
|
|
|
|
window.location.href = "/";
|
|
|
|
|
thiss.setState({
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: false
|
|
|
|
|
})
|
|
|
|
|
thiss.Cancel();
|
|
|
|
|
this.Cancel();
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
thiss.setState({
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders: false
|
|
|
|
|
})
|
|
|
|
|
thiss.Cancel();
|
|
|
|
|
this.Cancel();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}).catch((error) => {
|
|
|
|
|
|
|
|
|
|