Browse Source

Merge pull request #5882 from wenzhixin/fix/5795

Fixed broken page-list selector
文翼 4 years ago
parent
commit
c0a16f1a3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1317,7 +1317,7 @@ class BootstrapTable {
 
 
       if (opts.smartDisplay) {
       if (opts.smartDisplay) {
         if (pageList.length < 2 || opts.totalRows <= pageList[0]) {
         if (pageList.length < 2 || opts.totalRows <= pageList[0]) {
-          this.$pagination.find('span.page-list').hide()
+          this.$pagination.find('div.page-list').hide()
         }
         }
       }
       }