表单提交点击button的时候,8p手机上面,input的值部分获取不到,input里面内容都是填写好的。在获取不到的情况下,删除一下获取不到值的input框里面的数字或者文字,然后重新输入,再点击button就能获取了
<form bindsubmit=“formSubmit” bindreset=“formReset”>
<view class=“section”>
<view class=“section__title”>input</view>
<input name=“input_01” placeholder=“please input here” />
</view>
<view class=“section”>
<view class=“section__title”>input</view>
<input name=“input_02” placeholder=“please input here” />
</view>
<view class=“section”>
<view class=“section__title”>input</view>
<input name=“input_03” placeholder=“please input here” />
</view>
<view class=“section”>
<textarea auto-height name=‘text’ placeholder=“自动变高” />
</view>
<view class=“btn-area”>
<button formType=“submit”>Submit</button>
<button formType=“reset”>Reset</button>
</view>
</form>
此处代码在8p上面,input_02的值获取不了,删除一个然后在输入,点击button就又能获取了,求解!!!