From 3c10555c9e113b980bbfd5a154ab8d300f889fb8 Mon Sep 17 00:00:00 2001 From: q4speed Date: Tue, 12 May 2020 11:22:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8C=89=E9=92=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=8F=8A=E7=A6=81=E7=94=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/business/components/api/test/ApiTestConfig.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/test/ApiTestConfig.vue b/frontend/src/business/components/api/test/ApiTestConfig.vue index f3581e31f9..5df5670a40 100644 --- a/frontend/src/business/components/api/test/ApiTestConfig.vue +++ b/frontend/src/business/components/api/test/ApiTestConfig.vue @@ -16,11 +16,11 @@ {{$t('commons.save')}} - + {{$t('load_test.save_and_run')}} - + {{$t('api_test.run')}} {{$t('commons.cancel')}} @@ -153,6 +153,9 @@ }, computed: { + isShowRun() { + return this.test.projectId && this.test.name && !this.change; + }, isDisabled() { return !(this.test.projectId && this.test.name && this.change) }