suusan2go / vuetify-draggable-treeview

Vuetify draggable v-treeview component
https://v-draggable-treeview.netlify.com/
MIT License
91 stars 35 forks source link

Error: [vuex] do not mutate vuex store state outside mutation handlers. #946

Open MathieuDerelle opened 10 months ago

MathieuDerelle commented 10 months ago

it happens in a tree with at least 3 levels image

when moving node "test" into "test 2" (as a child)

the stacktrace points to this line https://github.com/suusan2go/vuetify-draggable-treeview/blob/21762258ef51eb4731916cd83c8037af24293ad7/src/DraggableTreeviewNode.vue#L140

which tells me that that array children is not cloned

kwilson1337 commented 5 months ago

I am also experiencing this issue when the tree gets to level 3 or more.

Screenshot 2024-03-13 at 11 40 50 AM