浏览代码

Fix pagination display error (#4421)

文翼 6 年之前
父节点
当前提交
d8a6714514
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/bootstrap-table.js

+ 2 - 2
src/bootstrap-table.js

@@ -627,7 +627,7 @@ class BootstrapTable {
 
       html.push(Utils.sprintf(`
         <div class="${this.constants.classes.pull}-${o.searchAlign} search ${this.constants.classes.inputGroup}">
-            %s
+          %s
         </div>
       `,
       Utils.sprintf(this.constants.html.inputGroup,
@@ -1025,7 +1025,7 @@ class BootstrapTable {
               html.push(pageItem(i, ' page-intermediate'))
             } else {
               html.push(Utils.sprintf(this.constants.html.paginationItem,
-                ' page-last-separator disabled', '...'))
+                ' page-last-separator disabled', '', '...'))
             }
           }
         }