将元素拖放到同一列表中的列表中。 vue-smooth-dnd

时间:2019-02-25 06:19:21

标签: vue.js vue-component

我使用vue-smooth-dnd组件。

如何将Drop元素拖放到同一列表中?

在官方文档中,我只找到了这个https://kutlugsahin.github.io/vue-smooth-dnd/#/nested

但是我需要这样的东西。

Trying to dnd between list and elements in the same list

1 个答案:

答案 0 :(得分:0)

在容器中使用组名,例如:

<Container
  group-name="parent"
  ...
>
...
</Container>
相关问题