fix: 修复查看已结束的报告报错
This commit is contained in:
parent
7e7433f801
commit
8bf4ce16a6
|
@ -178,8 +178,11 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
calculateLoadConfiguration: function (data) {
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
for (let i = 0; i < this.threadGroups.length; i++) {
|
||||
let d = data[i];
|
||||
if (!d) {
|
||||
return;
|
||||
}
|
||||
d.forEach(item => {
|
||||
switch (item.key) {
|
||||
case TARGET_LEVEL:
|
||||
|
@ -225,7 +228,7 @@ export default {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
})
|
||||
});
|
||||
this.calculateChart(this.threadGroups[i]);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue