project page limit

This commit is contained in:
Captain.B 2020-02-19 15:37:52 +08:00
parent 3171ba063c
commit ba4c27281e
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,9 @@
list() {
let url = "/project/list/" + this.currentPage + '/' + this.pageSize;
this.result = this.$post(url, {}, (response) => {
this.items = response.data;
let data = response.data;
this.items = data.listObject;
this.total = data.itemCount;
})
},
handleSizeChange(size) {