Kaynağa Gözat

Merge branch 'master' of http://gogs.ioobot.com:6680/xy/online

wly 7 yıl önce
ebeveyn
işleme
d841571217

+ 3 - 8
src/app/common/deploy/tencent/TencentConfig.js

@@ -67,8 +67,8 @@ class TencentConfig extends Component {
         console.log('group', group);
         if (schema && deploy && api && group) {
             console.log('deploying');
-            // axios.get(`${deployUrl}`,
-                axios.get(`http://localhost:8999/graphql/deployall`,
+            axios.get(`${deployUrl}`,
+                // axios.get(`http://localhost:8999/graphql/deployall`,
                 {
                     // params: {
                     //     'cloud-name': 'tencent',
@@ -79,6 +79,7 @@ class TencentConfig extends Component {
                     // }
                     params: {
                         'cloud-id': 'tencent_CloudID',
+                        'cloud-name': 'tencent',
                         schema,
                         deploy,
                         api,
@@ -185,7 +186,6 @@ class TencentConfig extends Component {
                                                                     cloudID={cloudID}
                                                                     trialcase={this.props.trialcase}
                                                                     pass={this.pass}
-                                                                    projectID={projectID}
                                                                 />
                                                             </Card>
                                                     }
@@ -202,7 +202,6 @@ class TencentConfig extends Component {
                                                                     cloudID={cloudID}
                                                                     trialcase={this.props.trialcase}
                                                                     pass={this.pass}
-                                                                    projectID={projectID}
                                                                 />
                                                             </Card>
                                                     }
@@ -249,7 +248,6 @@ class TencentConfig extends Component {
                                                                     userID={this.props.userID}
                                                                     defalutName={defaultName}
                                                                     trialcase={this.props.trialcase}
-                                                                    projectID={projectID}
                                                                 />
                                                             </Card>
                                                     }
@@ -325,7 +323,6 @@ class TencentConfig extends Component {
                                                                             trialcase={this.props.trialcase}
                                                                             pass={this.pass}
                                                                             stepByStep={this.stepByStep}
-                                                                            projectID={projectID}
                                                                         />
                                                                     </Card>
                                                             }
@@ -349,7 +346,6 @@ class TencentConfig extends Component {
                                                                             trialcase={this.props.trialcase}
                                                                             pass={this.pass}
                                                                             stepByStep={this.stepByStep}
-                                                                            projectID={projectID}
                                                                         />
                                                                     </Card>
                                                             }
@@ -409,7 +405,6 @@ class TencentConfig extends Component {
                                                                             defalutName={defaultName}
                                                                             trialcase={this.props.trialcase}
                                                                             stepByStep={this.stepByStep}
-                                                                            projectID={projectID}
                                                                         />
                                                                     </Card>
                                                             }