hjm 5 years ago
commit e17ecca158

@ -1,5 +1,5 @@
.dialogBox{
height: 370px;
height: 338px;
}
.dialogBox2{
height: 420px;

@ -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) => {

Loading…
Cancel
Save