fix(接口自动化): 修复场景步骤合并全部问题

This commit is contained in:
fit2-zhao 2021-07-28 15:29:54 +08:00 committed by fit2-zhao
parent 92db1a084b
commit dcb0124740
1 changed files with 3 additions and 2 deletions

View File

@ -1241,8 +1241,9 @@ export default {
if (this.expandedStatus) {
this.expandedNode.push(nodes[i].resourceId);
}
if (this.stepSize < 35 || !this.expandedStatus) {
nodes[i].active = this.expandedStatus;
if (this.stepSize > 35 && this.expandedStatus) {
nodes[i].active = false;
}
if (nodes[i].hashTree != undefined && nodes[i].hashTree.length > 0) {
this.changeNodeStatus(nodes[i].hashTree);