<block wx:for="{{list}}">
<input class='messageInput' type='text' data-id="{{itemShop}}"value='{{itemShop.value}}''name="message"></input>
</block>


上面是代码,最后的结果我需要得到的,但是值都成最后一个。我输入的为22222和3333。现在都成了33333,
<block wx:for="{{list}}">
<input class='messageInput' type='text' data-id="{{itemShop}}"value='{{itemShop.value}}''name="message"></input>
</block>
上面是代码,最后的结果我需要得到的,但是值都成最后一个。我输入的为22222和3333。现在都成了33333,
本文标题:小程序如何循环中的的input
本文链接:https://www.haomeiwen.com/subject/ssrmmftx.html
网友评论