Commit d73821bc authored by hetech's avatar hetech Committed by 杨奕

Tree: fix TreeNode dragged to wrong position (#11797)

parent 1bf5580d
......@@ -395,7 +395,7 @@
dropNext = false;
}
const targetPosition = dropNode.$el.querySelector('.el-tree-node__expand-icon').getBoundingClientRect();
const targetPosition = dropNode.$el.getBoundingClientRect();
const treePosition = this.$el.getBoundingClientRect();
let dropType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment