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

Co-authored-by: Captain.B <bin@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-08-26 12:18:19 +08:00 committed by GitHub
parent 2ba52a50d4
commit a8cbf1281f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -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';