fix(性能测试): 修复查看报告监控的时候表格数据存在缓存的问题

--bug=1022432 --user=刘瑞斌 【性能测试】github#21548,性能测试报告监控资源切换,表格数据不切换 https://www.tapd.cn/55049933/s/1335014

Closes #21548
This commit is contained in:
CaptainB 2023-02-14 14:23:05 +08:00 committed by 刘瑞斌
parent c0585c0329
commit fff38e2ca8
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ export default {
}, },
methods: { methods: {
getResource(currentInstance) { getResource(currentInstance) {
this.tableData = [];
// this.init = true; // this.init = true;
if (this.planReportTemplate) { if (this.planReportTemplate) {
this.instances = this.planReportTemplate.reportResource; this.instances = this.planReportTemplate.reportResource;