Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
647 views
in Technique[技术] by (71.8m points)

请问vue递归组件里面嵌套组件,怎么写

clipboard.png
外面是个递归组件 里面 需要特殊情况处理 又分了组件

clipboard.png
想要 达到这样的效果

demo在https://jsfiddle.net/u5x1hvbh/
请问应该怎么修改呢


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

不好意思,之前看错题目了。
这是你要的么?
https://jsfiddle.net/u5x1hvbh/4/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...