瀏覽代碼

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

wly 7 年之前
父節點
當前提交
d7af63e637
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/app/common/deploy/tencent/APIGroupCard.js
  2. 2 2
      src/app/common/deploy/tencent/DeployCard.js

+ 1 - 1
src/app/common/deploy/tencent/APIGroupCard.js

@@ -65,7 +65,7 @@ class APIGroupCard extends Component {
                 frontType: 'http&https',
                 userDomain: '',
                 userStatus: 'open',
-                groupRegion: props.region
+                groupRegion: props.region === '' ? 'ap-beijing' : props.region,
             };
     }
 

+ 2 - 2
src/app/common/deploy/tencent/DeployCard.js

@@ -69,10 +69,10 @@ class DeployCard extends Component {
                 description: '',
                 showOK: false,
                 functionName: props.defalutName,
-                region: props.region,
+                region: props.region === '' ? 'ap-beijing' : props.region,
                 cosBucketName: 'graphqlfc',
                 cosObjectName: props.defalutName,
-                cosBucketRegion: props.region,
+                cosBucketRegion: props.region === '' ? 'ap-beijing' : props.region,
                 serviceName: '',
                 vpcId: '',
                 subnetId: '',