From 54944560c3627fab9aecb20af5f4164d2aa51385 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 26 Jan 2021 14:48:50 +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=A4=9A=E6=AC=A1=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=20=E7=BB=93=E6=9E=9C=E4=B8=8D=E8=83=BD=E5=8F=8A?= =?UTF-8?q?=E6=97=B6=E5=93=8D=E5=BA=94=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/scenario/component/ApiComponent.vue | 2 +- .../automation/scenario/component/ApiResponseComponent.vue | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue index 3c79a559fa..fbe24ef940 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiComponent.vue @@ -14,7 +14,7 @@ {{$t('api_test.automation.reference_deleted')}} {{ $t('commons.copy') }} {{ $t('api_test.scenario.reference') }} - diff --git a/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue b/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue index 6dc1c8d434..633cf95c21 100644 --- a/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue +++ b/frontend/src/business/components/api/automation/scenario/component/ApiResponseComponent.vue @@ -42,6 +42,12 @@ this.isActive = true; } }, + watch: { + result() { + this.response = this.result; + this.isActive = true; + } + }, methods: { getExecResult() { // 执行结果信息