首先需要把效果还原:
wxml
wxss
*.js wx:for-item="p" 用p无法获取对象的每个属性,换成item就可以了
<view class='cell-body lr-padding flex-colum' wx:for="{{orderData.products}}" wx:for-item="p" wx:key="index">
首先需要把效果还原:
<view class='cell-body lr-padding flex-colum' wx:for="{{orderData.products}}" wx:for-item="p" wx:key="index">
本文标题:小程序一个关键字造成的错误
本文链接:https://www.haomeiwen.com/subject/zaxbrqtx.html
网友评论