fix(接口测试): 修复场景调试结果状态标记不准确问题
--bug=1016654 --user=赵勇 【接口测试】github #17766,场景内引用其他场景,执行结果显示不准确 https://www.tapd.cn/55049933/s/1243504
This commit is contained in:
parent
3aa2292bd7
commit
caf7c35bae
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue