n***@163.com
n***@163.com
  • 发布:2019-12-25 19:13
  • 更新:2019-12-25 19:23
  • 阅读:1149

#插件讨论# 【 极简登录注册模板 - amoshuke@qq.com 】英文键盘监听不到用户输入

分类:uni-app

在英文键盘下 监听不到用户的输入,并且会报这个错误:

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)
2019-12-25 19:13 负责人:无 分享
已邀请:
豆豆er

豆豆er

<wInput
v-on:input="监听你输入的方法"

</wInput>

  • 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

该问题目前已经被锁定, 无法添加新回复