ソースを参照

reverse autoformatting of the ide

NAME 5 年 前
コミット
16e9ca3c2e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -952,7 +952,7 @@ class BootstrapTable {
     pageList = pageList.map(value => {
     pageList = pageList.map(value => {
       if (typeof value === 'string') {
       if (typeof value === 'string') {
         return value.toLowerCase() === opts.formatAllRows().toLowerCase() ||
         return value.toLowerCase() === opts.formatAllRows().toLowerCase() ||
-        ['all', 'unlimited'].includes(value.toLowerCase())
+          ['all', 'unlimited'].includes(value.toLowerCase())
           ? opts.formatAllRows() : +value
           ? opts.formatAllRows() : +value
       }
       }
       return value
       return value