hjm 5 years ago
commit e17ecca158

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

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

Loading…
Cancel
Save