From 5f45c0d4866de4f72b6d016f4ec473e26be17278 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Fri, 29 Jan 2021 18:14:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=20=E6=89=B9=E9=87=8F=E6=B7=BB=E5=8A=A0=E5=88=B0?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=EF=BC=8C=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/ApiScenarioList.vue | 5 ++++- .../api/automation/scenario/testplan/TestPlanList.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 93ad585913..f1a1d269ec 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -122,7 +122,7 @@ - + @@ -426,6 +426,9 @@ }); }); }, + cancel(){ + this.planVisible = false; + }, addTestPlan(plans) { let obj = {planIds: plans, scenarioIds: this.selection}; diff --git a/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue b/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue index 6e0bc6dee4..8df9a38cf7 100644 --- a/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue +++ b/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue @@ -127,7 +127,7 @@ + @confirm="confirm" @cancel="cancel"> @@ -206,6 +206,9 @@ } this.$emit('addTestPlan', this.selection); }, + cancel(){ + this.$emit('cancel'); + }, select(selection) { this.selection = selection.map(s => s.id); this.$emit('selection', selection);