refactor(性能测试): 修改性能测试报告页面

This commit is contained in:
Captain.B 2021-08-26 12:06:52 +08:00 committed by 刘瑞斌
parent d220cb5992
commit e06adada9b
1 changed files with 0 additions and 8 deletions

View File

@ -122,7 +122,6 @@ export default {
props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'], props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'],
methods: { methods: {
initTableData() { initTableData() {
this.initData();
if (this.planReportTemplate) { if (this.planReportTemplate) {
let data = this.planReportTemplate.loadOverview; let data = this.planReportTemplate.loadOverview;
this.buildInfo(data); this.buildInfo(data);
@ -140,13 +139,6 @@ export default {
this.getErrorChart(); this.getErrorChart();
this.getResponseCodeChart(); this.getResponseCodeChart();
}, },
initData() {
this.buildInfo();
// this.loadOption = {};
// this.resOption = {};
// this.errorOption = {};
// this.resCodeOption = {};
},
buildInfo(data) { buildInfo(data) {
this.maxUsers = data ? data.maxUsers : '0'; this.maxUsers = data ? data.maxUsers : '0';
this.avgThroughput = data ? data.avgThroughput : '0'; this.avgThroughput = data ? data.avgThroughput : '0';