parent
1af1fc18fd
commit
c9acf439dd
|
@ -600,7 +600,8 @@ export default {
|
|||
if (tg.enabled === 'false') {
|
||||
continue;
|
||||
}
|
||||
if (!tg.threadNumber || !tg.rampUpTime || !tg.step || !tg.iterateNum) {
|
||||
if (!tg.threadNumber || !tg.duration
|
||||
|| !tg.rampUpTime || !tg.step || !tg.iterateNum) {
|
||||
this.$warning(this.$t('load_test.pressure_config_params_is_empty'));
|
||||
this.$emit('changeActive', '1');
|
||||
return false;
|
||||
|
|
|
@ -601,7 +601,8 @@ export default {
|
|||
if (tg.enabled === 'false' ) {
|
||||
continue;
|
||||
}
|
||||
if (!tg.threadNumber || !tg.rampUpTime || !tg.step || !tg.iterateNum) {
|
||||
if (!tg.threadNumber || !tg.duration
|
||||
|| !tg.rampUpTime || !tg.step || !tg.iterateNum) {
|
||||
this.$warning(this.$t('load_test.pressure_config_params_is_empty'));
|
||||
this.$emit('changeActive', '1');
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue