Fix drag and drop.

This commit is contained in:
Kasen IO 2020-04-09 00:59:52 -04:00
parent bf5caa26b5
commit d86033dfbf

View file

@ -70,17 +70,18 @@
hide-default-footer hide-default-footer
> >
<template> <template>
<draggable :group="options" :list="items" handle=".handle"> <v-col
<v-col cols="12"
sm="6"
md="4"
lg="3"
class="py-1 column-item"
>
<draggable :group="options" :list="items" handle=".handle">
<v-item-group
v-for="item in items" v-for="item in items"
v-bind:key="item.uuid" v-bind:key="item.uuid"
cols="12"
sm="6"
md="4"
lg="3"
class="py-1 column-item"
> >
<v-list-item <v-list-item
one-line one-line
v-if="!item.folder" v-if="!item.folder"
@ -189,8 +190,6 @@
</template> </template>
<v-col <v-col
v-for="item in item.items"
v-bind:key="item.uuid"
cols="12" cols="12"
sm="6" sm="6"
md="4" md="4"
@ -200,6 +199,10 @@
<draggable <draggable
:list="item.items" :list="item.items"
:group="options" :group="options"
>
<v-item-group
v-for="item in item.items"
v-bind:key="item.uuid"
> >
<v-list-item <v-list-item
one-line one-line
@ -290,11 +293,13 @@
</v-menu> </v-menu>
</v-list-item> </v-list-item>
</v-item-group>
</draggable> </draggable>
</v-col> </v-col>
</v-list-group> </v-list-group>
</v-col> </v-item-group>
</draggable> </draggable>
</v-col>
</template> </template>
</v-data-iterator> </v-data-iterator>
</v-container> </v-container>