瀏覽代碼

fix a bug

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

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

@@ -37,6 +37,7 @@ const removePrefix = (prefix, value) => {
 };
 
 const shiftPrefix = (prefix, value) => {
+    value = removePrefix(prefix, value);
     return prefix + value;
 };
 

+ 1 - 0
src/app/common/deploy/tencent/DeployCard.js

@@ -41,6 +41,7 @@ const removePrefix = (prefix, value) => {
 };
 
 const shiftPrefix = (prefix, value) => {
+    value = removePrefix(prefix, value);
     return prefix + value;
 };