@@ -52,6 +52,7 @@ class UserCustom extends Component {
render() {
let {userID, cloudID, bucketName, deployFailed, appId, secretID, secretKey} = this.state;
+ let {history} = this.props
return (
<Content className="content">
<div>
@@ -79,6 +80,7 @@ class UserCustom extends Component {
secretKey={secretKey}
appId={appId}
cloudID={cloudID}
+ history={history}
/>
<Step title=<Step4/> />
@@ -613,6 +615,7 @@ const Step3 = (props) => (
secretKey={props.secretKey}
appId={props.appId}
cloudID={props.cloudID}
+ history={props.history}
</div>
@@ -56,6 +56,7 @@ class CloudConfig extends Component {
};
submit = (id, cloudName, secretId, secretKey, appId) => {
+ let {handleCancel} = this.props
return () => {
if (id === '') {
let varObj = {
@@ -80,6 +81,7 @@ class CloudConfig extends Component {
this.setState({
showOK: ''
});
+ handleCancel();
}, 1500)
} else {
@@ -111,6 +113,7 @@ class CloudConfig extends Component {