Skip to content

Commit

Permalink
fix: #52 #63 修复拖拽时鼠标样式和element其它组件拖拽时鼠标样式一致
Browse files Browse the repository at this point in the history
  • Loading branch information
hqzh committed Feb 20, 2021
1 parent 0b13cb0 commit 4f083bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/dragTreeTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
},
methods: {
draging(e) {
e.preventDefault();
        e.dataTransfer.dropEffect = "move"
this.isDraing = true;
if (e.pageX == this.dragX && e.pageY == this.dragY) return
this.dragX = e.pageX;
Expand Down

0 comments on commit 4f083bf

Please sign in to comment.