fix(接口测试): 修复循环控制器下的引用的步骤无法复制的缺陷

This commit is contained in:
wxg0103 2023-05-10 15:32:05 +08:00 committed by 刘瑞斌
parent 227371e700
commit 63039b7969
1 changed files with 6 additions and 0 deletions

View File

@ -233,6 +233,12 @@ export default {
},
},
created() {
let typeArray = ["LoopController", "IfController","TransactionController"];
if (typeArray.includes(this.data.type) && !this.data.disabled) {
this.data.hashTree.forEach(item => {
item.isCopy = true;
})
}
if (!this.data.name) {
this.isShowInput = true;
}