From 2ac8b0d44f7edc057e0b603959ffb6eddbbc5d32 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Mon, 1 Nov 2021 17:04:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E4=BB=A3=E7=A0=81=E6=A8=A1=E7=89=88):?= =?UTF-8?q?=20=E7=BB=88=E6=AD=A2=E6=B5=8B=E8=AF=95=E6=A8=A1=E7=89=88?= =?UTF-8?q?=E6=9C=AB=E5=B0=BE=E6=B7=BB=E5=8A=A0=E5=88=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1007610 --user=lyh 【github#7289】断言脚本里,终止测试的代码放在if判断内会报错 https://www.tapd.cn/55049933/s/1062532 --- .../api/automation/scenario/common/Jsr233ProcessorContent.vue | 2 +- .../business/components/project/menu/function/script-menu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue index 8f263571ab..eee1218823 100644 --- a/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue +++ b/frontend/src/business/components/api/automation/scenario/common/Jsr233ProcessorContent.vue @@ -101,7 +101,7 @@ children: [ { title: this.$t('project.code_segment.stop_test'), - value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName())' + value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName());' }, ] }, diff --git a/frontend/src/business/components/project/menu/function/script-menu.js b/frontend/src/business/components/project/menu/function/script-menu.js index 52b48f6cad..9d3e751e89 100644 --- a/frontend/src/business/components/project/menu/function/script-menu.js +++ b/frontend/src/business/components/project/menu/function/script-menu.js @@ -61,7 +61,7 @@ export const SCRIPT_MENU = [ children: [ { title: i18n.t('project.code_segment.stop_test'), - value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName())' + value: 'ctx.getEngine().stopThreadNow(ctx.getThread().getThreadName());' }, ] },