uniapp遍历多级数组

遍历多级数组,二级数组须要取一级数组下标web <view v-for="(item,index) in yearList" :key="index"> <view> {{item.year}} <view v-for="(month,monthIndex) in yearList[index].month" :key="monthIndex"> {{month.name}}
相关文章
相关标签/搜索