From 445d90c955e364364bd2339520a8b34cd6db42a6 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Tue, 2 Jun 2020 14:09:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/MsTableOperatorButton.vue | 9 +++---- .../components/PerformanceAdvancedConfig.vue | 26 +++++++++---------- .../components/PerformanceBasicConfig.vue | 15 ++++++++--- .../components/PerformancePressureConfig.vue | 20 ++++++++++++-- .../view/comonents/TestPlanTestCaseEdit.vue | 4 +-- .../comonents/test/PerformanceTestDetail.vue | 16 ++++++++---- .../comonents/test/PerformanceTestResult.vue | 22 +++++++++------- 7 files changed, 73 insertions(+), 39 deletions(-) diff --git a/frontend/src/business/components/common/components/MsTableOperatorButton.vue b/frontend/src/business/components/common/components/MsTableOperatorButton.vue index 8b03620d11..2e885e09b8 100644 --- a/frontend/src/business/components/common/components/MsTableOperatorButton.vue +++ b/frontend/src/business/components/common/components/MsTableOperatorButton.vue @@ -16,11 +16,6 @@ export default { name: "MsTableOperatorButton", components: {MsTipButton, MsTableButton}, - data() { - return{ - disabled: false - } - }, props: { icon: { type: String, @@ -33,6 +28,10 @@ tip: { type: String }, + disabled: { + type: Boolean, + default: false + }, isTesterPermission: { type: Boolean, default: false diff --git a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue index dcc1894a33..655817ea13 100644 --- a/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformanceAdvancedConfig.vue @@ -4,7 +4,7 @@

{{$t('load_test.domain_bind')}}

- {{$t('commons.add')}} + {{$t('commons.add')}}
@@ -19,7 +19,7 @@