fix(性能测试): 修复线程组启用禁用判断的bug

This commit is contained in:
Captain.B 2021-05-17 18:08:11 +08:00 committed by 刘瑞斌
parent c63d44caec
commit 4037d93b7d
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ export default {
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'));
return false;
}