refactor: 修改性能测试上传文件数量的限制判断

This commit is contained in:
Captain.B 2020-09-21 10:10:20 +08:00
parent b9509e3725
commit 5744103f79
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ export default {
}
if (newCsvNum + oldCsvNum > this.fileNumLimit - 1) {
this.handleExceed();
return false;
}
if (newJmxNum + oldJmxNum !== 1) {
this.$error(this.$t('load_test.jmx_is_null'));