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

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

Closes #21548
This commit is contained in:
CaptainB 2023-02-16 12:53:50 +08:00 committed by 刘瑞斌
parent 8c7644d6d1
commit 77f97c940a
1 changed files with 1 additions and 0 deletions

View File

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