From 18108e7d042fbd94d1e12a560bcdc9e629f14001 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 16 Jun 2021 15:30:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=20=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=E4=B8=80=E9=94=AE=E5=B1=95=E5=BC=80=E5=92=8C=E4=B8=80?= =?UTF-8?q?=E9=94=AE=E5=90=88=E5=B9=B6=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/EditApiScenario.vue | 4 ++++ .../api/automation/scenario/maximize/MaximizeScenario.vue | 4 ++++ 2 files changed, 8 insertions(+) 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() {