fix(性能测试): 查看报告报错

This commit is contained in:
CaptainB 2021-11-13 17:06:04 +08:00 committed by 刘瑞斌
parent 32f471627d
commit f8f4578c6c
1 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@ export default {
this.init = false;
}
if (!this.currentInstance) {
this.currentInstance = this.resource[0].resourceId;
this.currentInstance = this.resource[0]?.resourceId;
}
this.page = data.map(item => item.resourceId).reduce((result, curr) => {
result[curr] = 1;