From 38bf59c80b76b15345ce9fe92af5e71eab5ab35e Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 22 Nov 2022 14:22:58 +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=8D=95=E5=9C=BA=E6=99=AF=E6=AD=A5=E9=AA=A4?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=81=9C=E6=AD=A2=E6=8C=89=E9=92=AE=E6=9C=AA?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=9B=B4=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020048 --user=赵勇 【接口测试】场景A导入一个复制/引用的场景B,单独调试场景B,“停止”按钮不更新 https://www.tapd.cn/55049933/s/1300956 --- .../automation/scenario/component/ApiScenarioComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue b/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue index 22fda737ba..96c22f6125 100644 --- a/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue +++ b/api-test/frontend/src/business/automation/scenario/component/ApiScenarioComponent.vue @@ -135,7 +135,7 @@ export default { }, watch: { message() { - if (this.message === 'STOPPED') { + if (['STOPPED', 'STOP'].includes(this.message.toUpperCase())) { this.scenario.run = false; } this.reload();