From e3dce0c1be1084ad6da1c108b6c3e1ab93bbdff8 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 25 May 2023 19:21:18 +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=E6=9C=AA=E5=86=99=E5=9C=BA=E6=99=AF=E5=90=8D?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=89=A7=E8=A1=8C=E5=8D=95=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=B8=80=E7=9B=B4=E6=98=BE=E7=A4=BA=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025964 --user=王孝刚 【接口测试】新建场景-添加csv场景变量-单步骤调试失败引用csv文件失败 https://www.tapd.cn/55049933/s/1376003 --- .../src/business/automation/scenario/EditApiScenario.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue index 156657cb9b..fc4b9ff614 100644 --- a/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue +++ b/api-test/frontend/src/business/automation/scenario/EditApiScenario.vue @@ -1803,6 +1803,11 @@ export default { this.initMessageSocket(); } else { this.debugLoading = false; + let hasRequest = runScenario && runScenario.hasRequest; + if (hasRequest && runScenario.hashTree) { + runScenario.hashTree[0].requestResult = []; + runScenario.hashTree[0].testing = false; + } } }); },