<view class="r" wx:for-items="{{planList}}" wx:for-item="plan" style="margin-bottom:20rpx;">
planList 是最外层数组 plan是一个子数组
<view wx:for-items="{{plan}}" wx:for-item="p">
然后用plan 在循环渲染一次
微信小程序 wx:for 遍历数组嵌套数组
阅读 93
2022-02-10
<view class="r" wx:for-items="{{planList}}" wx:for-item="plan" style="margin-bottom:20rpx;">
planList 是最外层数组 plan是一个子数组
<view wx:for-items="{{plan}}" wx:for-item="p">
然后用plan 在循环渲染一次
相关推荐
精彩评论(0)