fix: 修复表格拖拽排序与表单选字操作冲突的问题

This commit is contained in:
marchyang 2025-04-04 10:56:52 +08:00
parent 18524d89fb
commit f91eb415db

View File

@ -320,6 +320,8 @@ const rowDrop = () => {
}
sortable = Sortable.create(tBodyEl, {
draggable: '.tmagic-design-table-row',
filter: 'input', //
preventOnFilter: false, //
direction: 'vertical',
onEnd: ({ newIndex, oldIndex }: SortableEvent) => {
if (typeof newIndex === 'undefined') return;