fix: 针对场景批量添加到测试计划,不选计划的提示优化

针对场景批量添加到测试计划,不选计划的提示优化
This commit is contained in:
song.tianyang 2021-02-02 15:07:31 +08:00
parent 311e163a4c
commit c504b51625
1 changed files with 2 additions and 1 deletions

View File

@ -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');