From bd505a5c320f66e792b388790afc94404e42eb70 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 13 Jan 2021 18:18:50 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E7=BB=9F=E4=B8=80=E6=AD=A5=E9=AA=A4=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/EditApiScenario.vue | 5 +++-- .../components/api/automation/scenario/LoopController.vue | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue index 6763fe9b5b..f36f5f1846 100644 --- a/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/EditApiScenario.vue @@ -521,8 +521,9 @@ this.$refs.apiImport.open(); break; } - - this.selectedNode.expanded = true; + if (this.selectedNode) { + this.selectedNode.expanded = true; + } this.sort(); }, nodeClick(data, node) { diff --git a/frontend/src/business/components/api/automation/scenario/LoopController.vue b/frontend/src/business/components/api/automation/scenario/LoopController.vue index c6b2864741..79f126c779 100644 --- a/frontend/src/business/components/api/automation/scenario/LoopController.vue +++ b/frontend/src/business/components/api/automation/scenario/LoopController.vue @@ -5,8 +5,8 @@ @remove="remove" :data="controller" :draggable="true" - color="#015478" - background-color="#E6EEF2" + color="#02A7F0" + background-color="#F4F4F5" :title="$t('api_test.automation.loop_controller')"> -