Skip to content

Commit

Permalink
Merge pull request #67 from hqzh/master
Browse files Browse the repository at this point in the history
fix: #52 #63 更换拖拽时鼠标样式为moving
  • Loading branch information
ColdDay authored Mar 9, 2021
2 parents 0b13cb0 + 4f083bf commit e7ab9e1
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 e7ab9e1

Please sign in to comment.