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}}
相關文章
相關標籤/搜索