chenjunkai %!s(int64=6) %!d(string=hai) anos
pai
achega
5631abd873
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      web/index.html

+ 1 - 1
web/index.html

@@ -233,7 +233,7 @@
                     // console.log(data['res'])
                     console.log(data)
                     addTable(data['res'])
-                    let count_page = Math.ceil(data['res']['count'] / 5)
+                    let count_page = Math.ceil(data['res']['count'] / line)
                     $('#pagination').pagination({
                         pages: count_page, //总页数
                         // pages: 10000, //总页数