fix(接口测试): 修复场景调试结果状态标记不准确问题

--bug=1016654 --user=赵勇 【接口测试】github #17766,场景内引用其他场景,执行结果显示不准确 https://www.tapd.cn/55049933/s/1243504
This commit is contained in:
fit2-zhao 2022-09-15 15:57:57 +08:00
parent 3aa2292bd7
commit caf7c35bae
1 changed files with 2 additions and 1 deletions

View File

@ -901,7 +901,8 @@ export default {
}, },
resultEvaluationChild(arr, resourceId, status) { resultEvaluationChild(arr, resourceId, status) {
arr.forEach(item => { arr.forEach(item => {
if (item.data.id + "_" + item.data.parentIndex === resourceId) { let id = item.data.id || item.data.resourceId;
if (id + "_" + item.data.parentIndex === resourceId) {
item.data.testing = false; item.data.testing = false;
this.evaluationParent(item.parent, status); this.evaluationParent(item.parent, status);
} }