refactor: 修改性能测试上传文件数量的限制判断
This commit is contained in:
parent
b9509e3725
commit
5744103f79
|
@ -220,6 +220,7 @@ export default {
|
||||||
}
|
}
|
||||||
if (newCsvNum + oldCsvNum > this.fileNumLimit - 1) {
|
if (newCsvNum + oldCsvNum > this.fileNumLimit - 1) {
|
||||||
this.handleExceed();
|
this.handleExceed();
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
if (newJmxNum + oldJmxNum !== 1) {
|
if (newJmxNum + oldJmxNum !== 1) {
|
||||||
this.$error(this.$t('load_test.jmx_is_null'));
|
this.$error(this.$t('load_test.jmx_is_null'));
|
||||||
|
|
Loading…
Reference in New Issue