fix(接口测试): 接口自动化场景步骤限制 200 条步骤内使用原生渲染,超过 200 条步骤使用虚拟树渲染
This commit is contained in:
parent
ad7484c71e
commit
5e866b2a22
|
@ -2195,9 +2195,8 @@ export default {
|
|||
});
|
||||
}
|
||||
},
|
||||
dataProcessing(stepArray) {
|
||||
dataProcessing(stepArray, parent = null) {
|
||||
if (stepArray) {
|
||||
this.stepCount += stepArray.length;
|
||||
for (let i in stepArray) {
|
||||
let typeArray = ['JDBCPostProcessor', 'JDBCSampler', 'JDBCPreProcessor'];
|
||||
if (typeArray.indexOf(stepArray[i].type) !== -1) {
|
||||
|
@ -2218,8 +2217,15 @@ export default {
|
|||
},
|
||||
};
|
||||
}
|
||||
if (
|
||||
this.stepFilter.get('ALlSamplerStep').indexOf(stepArray[i].type) === -1 ||
|
||||
!parent ||
|
||||
this.stepFilter.get('AllSamplerProxy').indexOf(parent.type) === -1
|
||||
) {
|
||||
this.stepCount += 1;
|
||||
}
|
||||
if (stepArray[i].hashTree.length > 0) {
|
||||
this.dataProcessing(stepArray[i].hashTree);
|
||||
this.dataProcessing(stepArray[i].hashTree, stepArray[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue