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 8df9a38cf7..c806cb0944 100644 --- a/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue +++ b/frontend/src/business/components/api/automation/scenario/testplan/TestPlanList.vue @@ -203,8 +203,9 @@ confirm() { if (this.selection.length==0) { this.$warning(this.$t("api_test.definition.request.test_plan_select")); + }else{ + this.$emit('addTestPlan', this.selection); } - this.$emit('addTestPlan', this.selection); }, cancel(){ this.$emit('cancel');