refactor: 前端查询日志显示前5块数据

This commit is contained in:
Captain.B 2020-07-23 10:54:19 +08:00
parent b5f2afc4f8
commit 1215f15d00
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@
result: {},
id: '',
page: 1,
pageCount: 1,
pageCount: 5,
loading: false,
}
},
@ -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);
})