refactor(性能测试): 修改性能测试报告页面
This commit is contained in:
parent
d220cb5992
commit
e06adada9b
|
@ -122,7 +122,6 @@ export default {
|
|||
props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'],
|
||||
methods: {
|
||||
initTableData() {
|
||||
this.initData();
|
||||
if (this.planReportTemplate) {
|
||||
let data = this.planReportTemplate.loadOverview;
|
||||
this.buildInfo(data);
|
||||
|
@ -140,13 +139,6 @@ export default {
|
|||
this.getErrorChart();
|
||||
this.getResponseCodeChart();
|
||||
},
|
||||
initData() {
|
||||
this.buildInfo();
|
||||
// this.loadOption = {};
|
||||
// this.resOption = {};
|
||||
// this.errorOption = {};
|
||||
// this.resCodeOption = {};
|
||||
},
|
||||
buildInfo(data) {
|
||||
this.maxUsers = data ? data.maxUsers : '0';
|
||||
this.avgThroughput = data ? data.avgThroughput : '0';
|
||||
|
|
Loading…
Reference in New Issue