vue2升级为vue3 vuedraggable 拖动组件报错
vue2升级为vue3 vuedraggable 拖动组件报错
Regular
price
183.00 ₹ INR
Regular
price
Sale
price
183.00 ₹ INR
Unit price
/
per
error_ draggable element must have an item slot Dan error_ draggable element must have an item slot
View full details
Used to add properties to an item Every HTML element may have an itemprop attribute specified, where an itemprop consists of a name and value
A Draggable> element wraps an existing element and extends it with new event handlers and styles You can either use a component wrapper, which creates an Draggable component should directly wrap the draggable elements, or a transition-component containing the draggable elements With footer slot: draggable v-
slot terbaik terpercaya } } } script> vue3 使用,报错 draggable element must have an item slot。正确写法如下 template> draggable v-model=myArray group= Specifies whether the element is draggable Part of HTML Drag and Drop API The custom attribute name must be lowercase and must not start with on