Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,请问数组嵌套如何使用呢? #19

Open
Truety opened this issue Feb 24, 2018 · 2 comments
Open

您好,请问数组嵌套如何使用呢? #19

Truety opened this issue Feb 24, 2018 · 2 comments

Comments

@Truety
Copy link

Truety commented Feb 24, 2018

如题,数组嵌套如何使用呢?
例如:colors: [{
text: "Aquamarine",
child:[
{
text: "text1",
},
{
text: "text2",
}
]
}]
如何给child也加上拖拽排序呢?按照Demo加上v-dragging,触发了dragged跟dragend的,但是并没有排序,求楼主解答。

@15210614992
Copy link

兄弟你这个解决了吗,我也遇到这种情况了

@blesstosam
Copy link

blesstosam commented Apr 2, 2020

@Truety @15210614992 嵌套的例子我写了一个demo,因为源码有bug 所以我fork了一份
https://github.com/blesstosam/vue-dragging/blob/master/demo.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants