fix(接口定义): 批量执行用例校验

This commit is contained in:
fit2-zhao 2021-01-20 12:50:10 +08:00
parent 269ee4d7b0
commit 81165295e3
1 changed files with 2 additions and 1 deletions

View File

@ -248,6 +248,7 @@
this.$warning(this.$t('api_test.environment.select_environment'));
return;
}
this.runData = [];
if (this.apiCaseList.length > 0) {
this.apiCaseList.forEach(item => {
if (item.selected && item.id) {
@ -261,7 +262,7 @@
/*触发执行操作*/
this.reportId = getUUID().substring(0, 8);
} else {
this.$warning("没有可执行的用例!");
this.$warning("请勾选要执行的用例!");
}
} else {
this.$warning("没有可执行的用例!");