{
"message":{"totalCount":25,"lists":[{"id":"001"},{},......{"id":"025"}]}
}
respose返回25条数据,在前段得到这25条数据:
axios.post('/url' , {
message:{
pageSize: 每页展示的数据数量
begin: 每页从第几条数据开始展示
}
}).then(response => {
this.list=response.data.message.lists
})
怎么做才能分页展示表格数据
已结题
后端得到数据,在前端分页展示
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答