3.2K Star 12.1K Fork 6.5K

GVPstylefeng / Guns

Closed
!46 解决服务器端分页不显示数据的问题

蓝色天空:master stylefeng:master

蓝色天空 Created on: 2018-07-29 14:26
Reviewer: 551203 stylefeng 1578927379   Tester: 551203 stylefeng 1578927379

修改位置:src\main\webapp\static\js\common\bootstrap-table-object.js
添加内容: 在57行后面加入代码

responseHandler:function(res){
if(res.total){
return {
"current": res.current,//当前页码
"pages": res.pages, //总页数
"total": res.total,//总条数
"rows": res.records, //数据
"size": res.size //每页数量
};
}else{
return res
}
},

1 comments, 1 participants 80462 gs80140 1578916665

Show action logs Hide action logs
蓝色天空 closed Pull Request 2018-10-09 09:34
蓝色天空 assigned tester stylefeng 2018-07-29 14:26
蓝色天空 assigned reviewer stylefeng 2018-07-29 14:26
Java
1
https://gitee.com/stylefeng/guns.git
git@gitee.com:stylefeng/guns.git
stylefeng
guns
Guns

Search