在英文键盘下 监听不到用户的输入,并且会报这个错误:
VM33:1 thirdScriptError
_vm.onInput is not a function;at pages/login/login page __e function
Error: _vm.onInput is not a function
at eval (weapp:///common/vendor.js:1108:21)
at Array.forEach (<anonymous>)
at eval (weapp:///common/vendor.js:1093:21)
at Array.forEach (<anonymous>)
at be.handleEvent [as __e] (weapp:///common/vendor.js:1083:15)
at be.D (eval at n.call.document (http://127.0.0.1:16280/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1571825)
at Ze (eval at n.call.document (http://127.0.0.1:16280/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1590297)
at eval (eval at n.call.document (http://127.0.0.1:16280/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1603376)
at Function.eval (eval at n.call.document (http://127.0.0.1:16280/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1603568)
at eval (eval at n.call.document (http://127.0.0.1:16280/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:1:1571141)
n***@163.com (作者)
你可能没明白我的意思。我再重新说一遍吧:使用你的插件,源码没有动,在微信开发者工具中使用真机调试,然后发现在登录时,输入用户名、密码点击提交,这时候是拿不到用户名这个字段的值的。在H5中是没有问题的
2019-12-25 21:55
n***@163.com (作者)
好吧,是官方的bug
https://ask.dcloud.net.cn/question/71442
2019-12-25 22:21