From 867b4543e80e19af71e0b395db6da8b425e888cb Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 26 Apr 2022 19:17:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92-=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B-=E5=9C=BA=E6=99=AF?= =?UTF-8?q?=E7=94=A8=E4=BE=8B-=E6=89=B9=E9=87=8F=E6=89=A7=E8=A1=8C-?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E4=BF=9D=E5=AD=98-=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=89=A7=E8=A1=8C=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 --bug=1012750 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001012750 --- .../track/plan/common/PlanRunModeWithEnv.vue | 14 ++++++++++++-- .../track/plan/components/TestPlanList.vue | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue b/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue index d12770d702..df0cff19c5 100644 --- a/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue +++ b/frontend/src/business/components/track/plan/common/PlanRunModeWithEnv.vue @@ -83,7 +83,7 @@ {{$t('load_test.save_and_run')}} - {{$t('commons.save')}} + {{$t('commons.save')}} @@ -128,7 +128,17 @@ export default { value: 'confirmAndRun' }; }, - props: ['planCaseIds', 'type', 'planId'], + props: { + planCaseIds: { + type: Array, + }, + type: String, + planId: String, + showSave: { + type: Boolean, + default: false + }, + }, methods: { open(testType) { this.runModeVisible = true; diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index b3efcf439f..9fe7691ae9 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -307,7 +307,7 @@ :type="'plan'"/> + :plan-id="currentPlanId" :show_save="true"/>