mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
Merge branch 'v1.5' into master
This commit is contained in:
commit
3975954e35
@ -460,7 +460,13 @@ export default {
|
|||||||
|
|
||||||
for (let i = 0; i < this.threadGroups.length; i++) {
|
for (let i = 0; i < this.threadGroups.length; i++) {
|
||||||
if (!this.threadGroups[i].threadNumber || !this.threadGroups[i].duration
|
if (!this.threadGroups[i].threadNumber || !this.threadGroups[i].duration
|
||||||
|| !this.threadGroups[i].rampUpTime || !this.threadGroups[i].step || !this.threadGroups[i].rpsLimit) {
|
|| !this.threadGroups[i].rampUpTime || !this.threadGroups[i].step) {
|
||||||
|
this.$warning(this.$t('load_test.pressure_config_params_is_empty'));
|
||||||
|
this.$emit('changeActive', '1');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.threadGroups[i].rpsLimitEnable && !this.threadGroups[i].rpsLimit) {
|
||||||
this.$warning(this.$t('load_test.pressure_config_params_is_empty'));
|
this.$warning(this.$t('load_test.pressure_config_params_is_empty'));
|
||||||
this.$emit('changeActive', '1');
|
this.$emit('changeActive', '1');
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user