优化拖拽排序

pull/33/head
biorz 2018-01-23 18:01:51 +08:00
parent 02ff41c0f2
commit fbfb5e2f71
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
require(['dragsort'], function () {
//绑定拖动排序
$("tbody", table).dragsort({
itemSelector: 'tr',
itemSelector: 'tr:visible',
dragSelector: "a.btn-dragsort",
dragEnd: function () {
var data = table.bootstrapTable('getData');