微信小程序input数据绑定问题

微信小程序没有数据绑定,input使用bindblur='事件',输入框失去焦点时触发,更新value

<input placeholder-class="placeHolderSty" value="{{tenantInfo.mobile}}" placeholder="请输入手机号"  bindblur="mobileInput"/>

参考:

https://developers.weixin.qq.com/miniprogram/dev/component/input.html

猜你喜欢

转载自blog.csdn.net/qq_15576765/article/details/80344391