fix(接口定义): 修复关闭场景断言不生效的缺陷 (#16067)

--bug=1015127 --user=王孝刚
【接口测试】github#15901,场景断言,在外层组件已禁用的情况下,脚本断言功能仍生效,功能实现有误,请修改
https://www.tapd.cn/55049933/s/1206327

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-21 16:41:56 +08:00 committed by GitHub
parent e77212b419
commit a5609f032c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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") {