diff --git a/bootdo/.gitignore b/bootdo/.gitignore index d65e327734be56afa13c297213b427315d9a66c6..9b6e34a11b2230d943eb6a30dce0dd80b3632c06 100644 --- a/bootdo/.gitignore +++ b/bootdo/.gitignore @@ -58,3 +58,6 @@ crashlytics-build.properties fabric.properties /bootdo.iml + +# log +applog diff --git a/bootdo/src/main/resources/templates/common/file/file.html b/bootdo/src/main/resources/templates/common/file/file.html index b62fb1757931f56a549a633262fb94fc9d652253..e05b0f7cfb2bce448452cd7653b1ff95cd46a0ca 100644 --- a/bootdo/src/main/resources/templates/common/file/file.html +++ b/bootdo/src/main/resources/templates/common/file/file.html @@ -125,7 +125,7 @@ page: function () { var options = { currentPage: app.offset / 12 + 1, //当前页 - totalPages: app.total / (12 + 1) + 1, //总页数 + totalPages: Math.ceil(app.total / 12), //总页数 numberofPages: 4, //显示的页数 bootstrapMajorVersion: 3, alignment: 'center',