1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-07-26 13:29:31 +08:00

fix: nest position adjust

This commit is contained in:
shangbin 2021-12-14 16:12:26 +08:00
parent ba575244e1
commit 70996d57bf

View File

@ -1,5 +1,5 @@
<template>
<draggable class="dragArea" tag="ul" :list="data" @start="onStartDrag" @choose="onClick"
<draggable class="dragArea" tag="ul" :list="data" @start="onStartDrag" @choose="onClick" :group="{ name: 'g1' }"
@end="onEndDrag">
<template #item="{ element }">
<li class="itemArea">