From 176f06197b01e1c60c620c5c48b5e460d57f9262 Mon Sep 17 00:00:00 2001 From: metersphere-bot <78466014+metersphere-bot@users.noreply.github.com> Date: Fri, 2 Jul 2021 14:29:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=89=A7=E8=A1=8C=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96=20(#4337)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: chenjianxing --- .../components/api/automation/scenario/ApiScenarioList.vue | 1 + .../components/api/definition/components/case/ApiCaseItem.vue | 2 +- .../api/definition/components/list/ApiCaseSimpleList.vue | 1 + .../components/api/definition/components/list/ApiList.vue | 2 ++ .../business/components/common/components/MsTableOperators.vue | 1 + frontend/src/common/css/main.css | 1 + 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 6fad8a3747..0ec0ed30c3 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -336,6 +336,7 @@ export default { tip: this.$t('api_test.automation.execute'), icon: "el-icon-video-play", exec: this.execute, + class: "run-button", permissions: ['PROJECT_API_SCENARIO:READ+RUN'] }, { 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 e9c2f29012..bab622424c 100644 --- a/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue +++ b/frontend/src/business/components/api/definition/components/case/ApiCaseItem.vue @@ -64,7 +64,7 @@ + class="run-button" size="mini" :disabled="!apiCase.id" circle/> diff --git a/frontend/src/common/css/main.css b/frontend/src/common/css/main.css index 6707dee359..8179bca490 100644 --- a/frontend/src/common/css/main.css +++ b/frontend/src/common/css/main.css @@ -287,4 +287,5 @@ textarea { .run-button .el-button { background-color: #409EFF; border-color: #409EFF; + color: white; }