report前端分页bug修复
This commit is contained in:
@@ -5,15 +5,15 @@ function pagination() {
|
||||
|
||||
pageNo = 1;
|
||||
count = $('tbody').children().size();// 总记录数
|
||||
|
||||
//处理ajax时jquery选择器缓存的问题
|
||||
dataLength = "${dataLength}";
|
||||
/* dataLength = "${fn:length(datas)}";
|
||||
preCount = 0;
|
||||
if (dataLength < count) {
|
||||
preCount = count - dataLength;
|
||||
count = count - preCount;
|
||||
}
|
||||
$('tbody').children().slice(0, preCount).remove();
|
||||
alert(count)
|
||||
//$('tbody').children().slice(0, preCount).remove();
|
||||
} */
|
||||
|
||||
|
||||
pageSize = 30; // 页面大小
|
||||
|
||||
Reference in New Issue
Block a user