学校列表div 下拉分页 最大页 计算方法错误
This commit is contained in:
parent
ad77104485
commit
a8b4bde77c
|
@ -603,7 +603,7 @@
|
|||
success: function (data) {
|
||||
schoolsResult = data.schools;
|
||||
count = data.count;
|
||||
maxPage = count % 100 + 1; //最大页码值
|
||||
maxPage = Math.ceil(count/100) //最大页码值
|
||||
if(schoolsResult.length != undefined && schoolsResult.length != 0) {
|
||||
var i = 0;
|
||||
$("#search_school_result_list").html('');
|
||||
|
|
Loading…
Reference in New Issue