组件如何自己调用自己【递归调用】
类似Vue中给子组件name后可以调用自身组件
eg:
<custom-com :list=‘dataList’>
<div v-for=“item in list”>
<custom-com :list=“item.dataList”></<custom-com>
</div>
</<custom-com>
目前我实现的办法是清洗数据:
数据结构:

数据清洗:

效果图:
