fix(性能测试): 修复线程组启用禁用判断的bug
This commit is contained in:
parent
730d2a0d47
commit
96db931f1d
|
@ -328,7 +328,7 @@ export default {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.threadGroups.filter(tg => tg.attributes.enabled == 'true').length === 0) {
|
if (this.threadGroups.filter(tg => tg.enabled == 'true').length === 0) {
|
||||||
this.$error(this.$t('load_test.threadgroup_at_least_one'));
|
this.$error(this.$t('load_test.threadgroup_at_least_one'));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue