From 2a365bd210856e083106910641a60ff7913745f2 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 11 May 2021 18:35:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=9C=BA=E6=99=AF=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E5=9C=BA=E6=99=AF=E6=AD=A5?= =?UTF-8?q?=E9=AA=A4=E6=9C=80=E5=A4=A7=E5=8C=96=E5=90=8E=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E6=96=AD=E8=A8=80=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/scenario/maximize/MaximizeScenario.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 56a708c591..375005d881 100644 --- a/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue +++ b/frontend/src/business/components/api/automation/scenario/maximize/MaximizeScenario.vue @@ -487,8 +487,10 @@ }, suggestClick(node) { this.response = {}; - if (node.parent && node.parent.data.requestResult) { + if (node && node.parent && node.parent.data.requestResult) { this.response = node.parent.data.requestResult; + } else if (this.selectedNode) { + this.response = this.selectedNode.data.requestResult; } }, showAll() {