SortableJS / Vue.Draggable

Vue drag-and-drop component based on Sortable.js
https://sortablejs.github.io/Vue.Draggable/
MIT License
20.19k stars 2.9k forks source link

fix: Determine whether Vue is Window sub -attribute #1169

Closed Niefee closed 7 months ago

Niefee commented 2 years ago

https://github.com/SortableJS/Vue.Draggable/issues/1168#issue-1433973168 When Vue is on the prototype chain of Window, "Vue" in window is true. You need to judge window.vue is not undefined.