From 63039b79695c7f5e5d28f4107c71e7266bc84761 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 10 May 2023 15:32:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BE=AA=E7=8E=AF=E6=8E=A7=E5=88=B6=E5=99=A8?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E5=BC=95=E7=94=A8=E7=9A=84=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=A4=8D=E5=88=B6=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../automation/scenario/common/ApiBaseComponent.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-test/frontend/src/business/automation/scenario/common/ApiBaseComponent.vue b/api-test/frontend/src/business/automation/scenario/common/ApiBaseComponent.vue index 97066b74cf..be28ba5bb1 100644 --- a/api-test/frontend/src/business/automation/scenario/common/ApiBaseComponent.vue +++ b/api-test/frontend/src/business/automation/scenario/common/ApiBaseComponent.vue @@ -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; }