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

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

View File

@ -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;
} }