ソースを参照

Delete splice

djhvscf 6 年 前
コミット
d5780d6853

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

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