mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-09 19:56:19 +00:00
Drop handler works only for local dnd events
This commit is contained in:
parent
be1d883958
commit
f47e94cf9f
1 changed files with 3 additions and 1 deletions
|
@ -122,7 +122,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dropHandler(e) {
|
dropHandler(e) {
|
||||||
this.$emit('onsort', this.sortingElementIndex, this.newElementIndex);
|
if (this.isDragging()) {
|
||||||
|
this.$emit('onsort', this.sortingElementIndex, this.newElementIndex);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
customRowRender(record, index) {
|
customRowRender(record, index) {
|
||||||
const parentMethodResult = this.customRow?.(record, index) || {};
|
const parentMethodResult = this.customRow?.(record, index) || {};
|
||||||
|
|
Loading…
Reference in a new issue