fix: 修复前端显示日志在切换报告后不生效的问题

This commit is contained in:
Captain.B 2020-07-23 11:36:59 +08:00
parent d107be2985
commit 5eed1e2af8
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@
getResource() { getResource() {
this.result = this.$get("/performance/report/log/resource/" + this.id, data => { this.result = this.$get("/performance/report/log/resource/" + this.id, data => {
this.resource = data.data; this.resource = data.data;
this.page = 1;
this.logContent = [];
}) })
}, },
load(resourceId) { load(resourceId) {