fix(性能测试): 修复报告页并发数显示不对
This commit is contained in:
parent
63c30b737b
commit
16ab55bf4c
|
@ -129,7 +129,11 @@ export default {
|
|||
this.threadGroups[i].rampUpTime = item.value;
|
||||
break;
|
||||
case DURATION:
|
||||
this.threadGroups[i].duration = item.value;
|
||||
if (item.unit) {
|
||||
this.threadGroups[i].duration = item.value;
|
||||
} else {
|
||||
this.threadGroups[i].duration = item.value * 60;
|
||||
}
|
||||
break;
|
||||
case STEPS:
|
||||
this.threadGroups[i].step = item.value;
|
||||
|
@ -154,7 +158,11 @@ export default {
|
|||
this.threadGroups[0].rampUpTime = d.value;
|
||||
break;
|
||||
case DURATION:
|
||||
this.threadGroups[0].duration = d.value;
|
||||
if (d.unit) {
|
||||
this.threadGroups[0].duration = d.value;
|
||||
} else {
|
||||
this.threadGroups[0].duration = d.value * 60;
|
||||
}
|
||||
break;
|
||||
case STEPS:
|
||||
this.threadGroups[0].step = d.value;
|
||||
|
|
Loading…
Reference in New Issue