anish2690 / vue-draggable-next

Vue 3 drag-and-drop component
https://vue-draggable-next.vercel.app
MIT License
508 stars 45 forks source link

[Vue warn]: (deprecation WATCH_ARRAY) "watch" #30

Closed porkus1990 closed 1 year ago

porkus1990 commented 2 years ago

The Vue warn [Vue warn]: (deprecation WATCH_ARRAY) "watch" option or vm.$watch on an array value will no longer trigger on array mutation unless the "deep" option is specified. occurs.

I think the deep: true option is missing for realList.

527604382 commented 1 year ago

i think so.watch realList need to add deep property

anish2690 commented 1 year ago

@porkus1990 looks like deep watch might required in that case or just depends on @change="onChangeList" event