|
|
@@ -391,8 +391,14 @@ export default {
|
|
|
})
|
|
|
.then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- this.pageResult = res.data;
|
|
|
- console.log(this.pageResult);
|
|
|
+ let resData = {
|
|
|
+ content: res.data.records,
|
|
|
+ pageNum: res.data.current,
|
|
|
+ pageSize: res.data.size,
|
|
|
+ totalPages: res.data.pages,
|
|
|
+ totalSize: res.data.total,
|
|
|
+ }
|
|
|
+ this.pageResult = resData;
|
|
|
}
|
|
|
});
|
|
|
},
|