fix(接口测试): 修复场景禁用启用二级不生效问题

--bug=1011507 --user=赵勇 【接口测试】场景编辑-点击批量操作-批量禁用-复置的场景下的步骤未显示未禁用 https://www.tapd.cn/55049933/s/1122734
This commit is contained in:
fit2-zhao 2022-03-21 19:51:26 +08:00 committed by fit2-zhao
parent b485002e09
commit 87209b6dd9
1 changed files with 2 additions and 2 deletions

View File

@ -1759,7 +1759,7 @@ export default {
nodes[i].active = this.expandedStatus;
}
if (nodes[i].hashTree != undefined && nodes[i].hashTree.length > 0) {
this.changeNodeStatus(nodes[i].hashTree);
this.changeNodeStatus(resourceIds, nodes[i].hashTree);
}
}
}
@ -1809,7 +1809,7 @@ export default {
nodes[i].enable = this.stepEnable;
}
if (nodes[i].hashTree != undefined && nodes[i].hashTree.length > 0) {
this.stepStatus(nodes[i].hashTree);
this.stepStatus(resourceIds, nodes[i].hashTree);
}
}
}