mirror of https://github.com/ElemeFE/element
Tree: fix TreeNode dragged to wrong position (#11797)
parent
1bf5580dc6
commit
d73821bc72
|
@ -395,7 +395,7 @@
|
||||||
dropNext = false;
|
dropNext = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
const targetPosition = dropNode.$el.querySelector('.el-tree-node__expand-icon').getBoundingClientRect();
|
const targetPosition = dropNode.$el.getBoundingClientRect();
|
||||||
const treePosition = this.$el.getBoundingClientRect();
|
const treePosition = this.$el.getBoundingClientRect();
|
||||||
|
|
||||||
let dropType;
|
let dropType;
|
||||||
|
|
Loading…
Reference in New Issue