fix(接口测试): 修复报告pending展示错误的缺陷

--bug=1026706 --user=王孝刚 【接口测试】场景-单独&批量生成独立/集合报告-Pending数据显示错误
https://www.tapd.cn/55049933/s/1378947
This commit is contained in:
wxg0103 2023-06-06 11:12:12 +08:00 committed by wxg0103
parent 7c25533482
commit eb667bdc57

View File

@ -265,7 +265,10 @@ export default {
return data;
}
} else if (status === 'UN_EXECUTE') {
if (data.value && data.value.status === 'PENDING') {
if (data.value && data.value.status === 'PENDING' && data.type !== 'IfController') {
return data;
}
if (data.type === 'IfController' && data.totalStatus === 'PENDING') {
return data;
}
} else if (status === 'ERROR') {