fix(性能测试): 修复性能测试使用企业版实时报告不显示新的错误记录的问题

This commit is contained in:
song-tianyang 2023-10-11 17:05:55 +08:00 committed by 刘瑞斌
parent 58f9d5ea26
commit 4cb5139fdc
3 changed files with 3 additions and 3 deletions

View File

@ -272,6 +272,7 @@ public class PerformanceReportService {
if (StringUtils.isEmpty(content)) {
return null;
}
return JSON.parseObject(content, SamplesRecord.class);
}

View File

@ -307,7 +307,6 @@ export default {
checkReportStatus(status) {
switch (status) {
case 'Error':
// this.$warning(this.$t('report.generation_error'));
this.active = '4';
break;
case 'Starting':
@ -368,6 +367,7 @@ export default {
this.$error(e.data);
return;
}
this.checkSampleResults(this.report.id);
this.$set(this.report, "status", 'Running');
this.status = 'Running';
this.initReportTimeInfo();

View File

@ -17,7 +17,7 @@
min-width="180">
</el-table-column>
<el-table-column
prop="errors"
prop="error"
label="Errors"
min-width="180">
</el-table-column>
@ -137,7 +137,6 @@ export default {
},
openRecord(row) {
let drawerSamples = this.errorSamples.samples[row.name][row.code];
console.info(drawerSamples);
this.$refs.sampleDrawer.openRecord(drawerSamples);
},
},