小程序bindinput 在部分手机上有时候失效?

小程序 文章 2020-07-31 10:41 1562 0 全屏看文

AI助手支持GPT4.0

小程序bindinput 在部分手机上有时候失效?

就一个很简单的数据绑定都存在兼容性问题。除了用form submit方法获取input的value之外还有别的方法吗。

For a very simple data binding, there are compatibility problems. Is there any other way to get the value of the input by using the form submit method.

回答:

寻己:

哪些机型,系统版本是?

小饼干🍪:

bindinput 获取

🔥👦👔👖:bindinput有时候在部分手机上不执行
Distance:

既然用了form的submit,那为什么还要使用bindinput去获取值,bindinput失效具体是指(最好能提供可以复现的代码片段)?

🔥👦👔👖:就是有时候bindinput方法不执行
🔥👦👔👖:部分手机
微喵网络:

弄一个 [ 能复现问题的简单的 ] 代码片段

https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

-EOF-

AI助手支持GPT4.0