form表单中使用wx:for循环input组件提交按钮点击无效
<form bindsubmit=“formSubmit”>
<view class=‘all’>
<view class=‘input-group’>
<view class=‘wrap’ wx:for="{{userInfo}}" wx:key=‘id’>
<text class=‘left’>{{item.menus}}</text>
<input class=‘input’ name=’{{item.name}}’ value=’{{}}’ placeholder=’{{item.message}}’ focus></input>
<image class=‘right’ src="{{item.src}}"></image>
</view>
</view>
<button class=‘save’ form-type=‘submit’>保存</button>
</view>
</form>