fix(性能测试): --bug=1007382 --user=刘瑞斌 【性能测试】执行提示参数不能为空,但是都填写了 https://www.tapd.cn/55049933/s/1060870

This commit is contained in:
CaptainB 2021-10-28 14:33:56 +08:00 committed by 刘瑞斌
parent ef2b28386a
commit 674073bd0e
1 changed files with 3 additions and 0 deletions

View File

@ -594,6 +594,9 @@ export default {
for (let i = 0; i < this.threadGroups.length; i++) {
let tg = this.threadGroups[i];
if (tg.enabled === 'false' ) {
continue;
}
tg.durationHours = tg.durationHours || 0;
tg.durationMinutes = tg.durationMinutes || 0;
tg.durationSeconds = tg.durationSeconds || 0;