From a5609f032ccd67c671461fbf21b16782923307a9 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Thu, 21 Jul 2022 16:41:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD=E5=9C=BA=E6=99=AF=E6=96=AD?= =?UTF-8?q?=E8=A8=80=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=20(#16067)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1015127 --user=王孝刚 【接口测试】github#15901,场景断言,在外层组件已禁用的情况下,脚本断言功能仍生效,功能实现有误,请修改 https://www.tapd.cn/55049933/s/1206327 Co-authored-by: wxg0103 <727495428@qq.com> --- .../src/business/components/api/automation/scenario/menu/Menu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/business/components/api/automation/scenario/menu/Menu.js b/frontend/src/business/components/api/automation/scenario/menu/Menu.js index aa603455b9..06ef092b4b 100644 --- a/frontend/src/business/components/api/automation/scenario/menu/Menu.js +++ b/frontend/src/business/components/api/automation/scenario/menu/Menu.js @@ -158,6 +158,7 @@ export function buttons(this_) { export function scenarioAssertion(data, node) { node.active = false; + node.scenarioAss = true; let needAdd = true; data.forEach(data => { if (data.type === "Assertions") {