Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Vue 3 #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update to Vue 3 #135

wants to merge 1 commit into from

Conversation

ryleyb
Copy link

@ryleyb ryleyb commented Sep 22, 2023

I was aiming to get this working but it's not perfect. The build size increased and I don't have time to sort out why.

@ryleyb ryleyb mentioned this pull request Sep 22, 2023
@DuyKhang2804
Copy link

Hi ryleB,

Thank you very much for the Vue 3 patch.
Could you package it into an npm package?

@map9
Copy link

map9 commented Oct 26, 2024

I was aiming to get this working but it's not perfect. The build size increased and I don't have time to sort out why.

fixed some bugs:

tree-item.vue

  •  @dragstart.stop="onItemDragStart($event, _self, _self.model)"
    
  •  @dragend.stop.prevent="onItemDragEnd($event, _self, _self.model)"
    
  •  @dragstart.stop="onItemDragStart($event, this, this.model)"
    
  •  @dragend.stop.prevent="onItemDragEnd($event, this, this.model)" @dragover.stop.prevent="isDragEnter = true"
    
  •    @drop.stop.prevent="handleItemDrop($event, _self, _self.model)">
    
  •   @drop.stop.prevent="handleItemDrop($event, this, this.model)">
    
  •                 if (this.$parent.$options._componentTag === 'tree-item') {
    
  •                if (this.$parent && this.$parent.$options.name === 'TreeItem') {
    

tree.vue

  •                                self.oriParent[i] = dataItem;
    
  •                                oriParent[i] = dataItem;
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants