整个重点是在于对数据格式必须要求一致!直接上重点:
1、springboot 后台代码
-1024x296.png)
2 个核心参数,rows 和 total,total 为查询集合 list 的总条数,rows 就是查询出的 list
2、html 上的 bootstrap-table 代码
-1024x279.png)
引入 bootstrap-table 必须用的 css,js(jq)后,初始化表格,分页方式选为“server”即可。
正文完
整个重点是在于对数据格式必须要求一致!直接上重点:
1、springboot 后台代码
2 个核心参数,rows 和 total,total 为查询集合 list 的总条数,rows 就是查询出的 list
2、html 上的 bootstrap-table 代码
引入 bootstrap-table 必须用的 css,js(jq)后,初始化表格,分页方式选为“server”即可。