fix(测试计划): 性能测试报告数据显示问题#1006170

--bug=1006170 --user=lyh 【测试计划-报告统计】测试计划-性能测试报告,测试/日志/监控详情无数据
https://www.tapd.cn/55049933/s/1041862
This commit is contained in:
shiziyuan9527 2021-08-30 15:39:24 +08:00 committed by 刘瑞斌
parent c23cd4aa50
commit 2a62fc6a06
2 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ export default {
props: ['report', 'export', 'isShare', 'shareId', 'planReportTemplate'],
methods: {
getResource() {
this.init = true;
// this.init = true;
this.active = '0';
if (this.planReportTemplate) {
this.handleGetLogResource(this.planReportTemplate.reportLogResource);
@ -145,7 +145,7 @@ export default {
},
report: {
handler(val) {
if (!val.status || !val.id || !this.id) {
if (!val.status || !val.id) {
return;
}
if (this.init) {

View File

@ -450,7 +450,7 @@ export default {
this.getTotalChart();
},
initTableData() {
this.init = true;
// this.init = true;
for (const name of CHART_MAP) {
this.getCheckOptions(name);