打印的时候通过wx:for 但是left_name中元素无法正常出现在屏幕上!求解!
微信小程序for循环,参考这样写
<block wx:for="{{GoodNumber}}" wx:for-item="Goods">
<van-card num="{{ Goods.number }}" price="{{ Goods.price }}" desc="{{ Goods.desc }}" title="{{ Goods.name }}" thumb="{{ Goods.imageURL }}" />
</block>
确保 left_name是数组 且 有值
贴代码看看