VueDraggable4.x 适配
组件菜单box1:
<draggable class="drop-box1" animation="200" v-model = "list1" item-key="typeId" :class="dropConClass.left" :sort="false" :group="options1" :clone="cloneMenuItem" @end="handleEnd($event, 'left')" >
<template #item="{ element }">
<el-card class="drag-item mpComponmentItem">{
{element.typeText}}</el-card>
</template>
</draggable>
效果box2:
<draggable class="drop-box2" v-model="modelValue" item-key="mpItemId" :class="dropConClass.right" :style="{background: mpContainerBgColor || ''}" group = 'drag_list' @end="handleEnd($event, 'right')" >
<template #item="{ element }">
<div clas