Browse Source

Delete splice

djhvscf 6 years ago
parent
commit
d5780d6853
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

+ 1 - 1
src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

@@ -140,7 +140,7 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
         if (columnIndex !== -1) {
           that.columns[columnIndex].fieldIndex = i
           columns.push(that.columns[columnIndex])
-          that.columns.splice(columnIndex, 1)
+          // that.columns.splice(columnIndex, 1)
         }
       }