Commit 00973608 authored by hujun's avatar hujun

判断总数

parent 564943d2
......@@ -9,6 +9,10 @@ function add_page (total_list, page_no, page_size, methodName) {
return;
}
if (total_list == undefined) {
total_list = 0;
}
$ ('#pagediv').pagination ({
totalData: total_list, /*总条数*/
jump: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment