diff --git a/ruoyi-ui/src/views/tool/gen/editTable.vue b/ruoyi-ui/src/views/tool/gen/editTable.vue index 6f950814a..5f88c1a3d 100644 --- a/ruoyi-ui/src/views/tool/gen/editTable.vue +++ b/ruoyi-ui/src/views/tool/gen/editTable.vue @@ -6,7 +6,7 @@ - + table > tbody")[0]; const sortable = Sortable.create(el, { + handle: ".allowDrag", onEnd: evt => { const targetRow = this.cloumns.splice(evt.oldIndex, 1)[0]; this.cloumns.splice(evt.newIndex, 0, targetRow);