refactor(性能测试): 修改性能测试报告页面 (#5734)
Co-authored-by: Captain.B <bin@fit2cloud.com>
This commit is contained in:
parent
2ba52a50d4
commit
a8cbf1281f
|
@ -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