fix(接口测试): 修复测试报告中节点过滤中错误的逻辑判断
--bug=1015270 --user=宋天阳 【接口测试】接口自动化-批量选择场景执行-集合报告结果中未执行显示错误 https://www.tapd.cn/55049933/s/1209463
This commit is contained in:
parent
f25d0880d4
commit
ff61886ea9
|
@ -58,7 +58,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
if (!data.value && !data.children && data.children.length === 0) {
|
if (!data.value && (!data.children || data.children.length === 0)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
|
|
Loading…
Reference in New Issue