Skip to content

Commit

Permalink
refactor: 前端查询日志显示前5块数据
Browse files Browse the repository at this point in the history
  • Loading branch information
liuruibin committed Jul 23, 2020
1 parent b5f2afc commit 1215f15
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
result: {},
id: '',
page: 1,
pageCount: 1,
pageCount: 5,
loading: false,
}
},
Expand All @@ -44,7 +44,6 @@
let url = "/performance/report/log/" + this.id + "/" + resourceId + "/" + this.page;
this.$get(url, res => {
let data = res.data;
this.pageCount = data.pageCount;
data.listObject.forEach(log => {
this.logContent.push(log);
})
Expand Down

0 comments on commit 1215f15

Please sign in to comment.