fix(性能测试): 测试报告列表查询overview信息修改

This commit is contained in:
Captain.B 2021-04-25 11:28:26 +08:00 committed by 刘瑞斌
parent 90229e0ebb
commit 939730166d
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ export default {
this.selectRows = new Set();
this.tableData.forEach(report => {
if (!report.maxUsers) {
if (report.status === 'Completed' && !report.maxUsers) {
this.result = this.$get('/performance/report/content/testoverview/' + report.id, response => {
this.$set(report, 'maxUsers', response.data.maxUsers);
this.$set(report, 'avgResponseTime', response.data.avgResponseTime);