<van-cell
v-for="order in orders"
:title="order.title"
:key="order.sku_id"
:label="order.sku_attribute.map(item => (item.name + ':' + item.value)).join(' ')"
>
<van-stepper
:value="order.num"
:min="0"
@change="e => numChange(e, order)"
/>
</van-cell>
这个写法在numChange
读到的order
是undefined
,是uni-app不支持?
0 个回复