diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 02bac6dfcf..bfc17ea323 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -1190,6 +1190,10 @@ export default { } } }); + }else{ + this.expandedNode = []; + this.expandedStatus = true; + this.shrinkTreeNode(); } }, closeExpansion() { diff --git a/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue b/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue index 360f71e9df..4f6479fa54 100644 --- a/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue @@ -962,6 +962,10 @@ export default { } } }); + }else{ + this.expandedNode = []; + this.expandedStatus = true; + this.shrinkTreeNode(); } }, closeExpansion() {