mirror of https://gitee.com/karson/fastadmin.git
优化拖拽排序
parent
02ff41c0f2
commit
fbfb5e2f71
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue