From 9aa9a3bbf550acc91b6c7219d02f9b78339d61fd Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 24 Dec 2020 14:56:59 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E6=B7=BB=E5=8A=A0=20v-tester=20=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/ApiAutomation.vue | 2 +- .../api/automation/scenario/ApiScenarioList.vue | 14 +++++++------- .../api/automation/scenario/ApiScenarioModule.vue | 2 +- .../components/api/definition/ApiDefinition.vue | 2 +- .../definition/components/case/ApiCaseHeader.vue | 2 +- .../api/definition/components/case/ApiCaseItem.vue | 12 ++++++------ .../api/definition/components/list/ApiList.vue | 6 +++--- 7 files changed, 20 insertions(+), 20 deletions(-) diff --git a/frontend/src/business/components/api/automation/ApiAutomation.vue b/frontend/src/business/components/api/automation/ApiAutomation.vue index d1ed00a250..f294010f61 100644 --- a/frontend/src/business/components/api/automation/ApiAutomation.vue +++ b/frontend/src/business/components/api/automation/ApiAutomation.vue @@ -34,7 +34,7 @@ diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index cfb6565461..6285b48fd6 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -50,14 +50,14 @@ @@ -161,7 +161,7 @@ if (this.projectId != null) { this.condition.projectId = this.projectId; } - + this.selection = []; let url = "/api/automation/list/" + this.currentPage + "/" + this.pageSize; this.$post(url, this.condition, response => { let data = response.data; diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue index b2b2721423..a4569c516c 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioModule.vue @@ -18,7 +18,7 @@ diff --git a/frontend/src/business/components/api/definition/ApiDefinition.vue b/frontend/src/business/components/api/definition/ApiDefinition.vue index 503fc5a91a..243f952bc0 100644 --- a/frontend/src/business/components/api/definition/ApiDefinition.vue +++ b/frontend/src/business/components/api/definition/ApiDefinition.vue @@ -17,7 +17,7 @@ + @command="handleCommand" v-tester> {{$t('commons.add')}} {{$t('api_test.definition.request.fast_debug')}} diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseHeader.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseHeader.vue index 202c724d3d..409585c2df 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseHeader.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseHeader.vue @@ -42,7 +42,7 @@ + @command="handleCommand" v-tester> +{{$t('api_test.definition.request.case')}} {{$t('commons.test')}} diff --git a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue index bd9a1ef149..9585e3dee7 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -19,7 +19,7 @@ @blur="saveTestCase(apiCase)" placeholder="请输入用例名称"/> {{apiCase.id ? apiCase.name:''}} - +
@@ -35,12 +35,12 @@ + style="background-color: #409EFF;color: white" size="mini" :disabled="!apiCase.id" circle v-tester/> + size="mini" :disabled="!apiCase.id || isCaseEdit" circle v-tester/> - + size="mini" :disabled="!apiCase.id || isCaseEdit" circle v-tester/> + @@ -64,7 +64,7 @@ - + {{$t('commons.save')}}
diff --git a/frontend/src/business/components/api/definition/components/list/ApiList.vue b/frontend/src/business/components/api/definition/components/list/ApiList.vue index 3fc45b92d5..d48521877f 100644 --- a/frontend/src/business/components/api/definition/components/list/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/list/ApiList.vue @@ -78,10 +78,10 @@