fix(接口测试): 修复循环控制器,事务控制器执行状态错误的缺陷

This commit is contained in:
wxg0103 2023-12-22 19:09:17 +08:00 committed by 刘瑞斌
parent d3a74dc68d
commit 961aea187e
1 changed files with 3 additions and 3 deletions

View File

@ -1206,6 +1206,9 @@ export default {
evaluationParent(node, status) {
node.data.testing = false;
node.data.debug = true;
if (node.parent && node.parent.data && node.parent.data.id) {
this.evaluationParent(node.parent, status);
}
if (node.data.code === 'ERROR') {
return;
}
@ -1219,9 +1222,6 @@ export default {
if (status && status === 'ERROR') {
node.data.code = 'ERROR';
}
if (node.parent && node.parent.data && node.parent.data.id) {
this.evaluationParent(node.parent, status);
}
},
resultEvaluationChild(arr, resourceId, status) {
arr.forEach((item) => {