fix(性能测试): 修复性能测试使用企业版实时报告不显示新的错误记录的问题
This commit is contained in:
parent
58f9d5ea26
commit
4cb5139fdc
|
@ -272,6 +272,7 @@ public class PerformanceReportService {
|
|||
if (StringUtils.isEmpty(content)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return JSON.parseObject(content, SamplesRecord.class);
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue