今天提示2.3.8更新后,uni-app真机调试发现form表单都用不了,点击提交按钮都没有反应,看到有报错,切换到上一个版本也没有效果,然后用官方的例子也报错,在电脑上运行没有问题。
13:19:24.635 webviewScriptError
13:19:24.655 Cannot read property 'value' of undefined;[Exparser] [Error] [Component] Event Listener Error @ wx-form#(anonymous)
13:19:24.675 TypeError: Cannot read property 'value' of undefined
13:19:24.695 at window.exparser.registerElement.methods._inputKey (uniapp://ready:182:401103)
13:19:24.715 at window.exparser.registerElement.methods._compositionend (uniapp://ready:182:399184)
13:19:24.735 at window.exparser.registerElement.methods._inputBlur (uniapp://ready:182:400385)
13:19:24.755 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:397675)
13:19:24.775 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:380071)
13:19:24.795 at uniapp://ready:182:380430
13:19:24.815 at window.exparser.registerElement.methods.asyncDfs (uniapp://ready:182:380583)
13:19:24.835 at uniapp://ready:182:380545
13:19:24.855 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:380187)
13:19:24.875 at uniapp://ready:182:380430 at uniapp://ready:182
13:19:24.895 TypeError: Cannot read property 'value' of undefined
13:19:24.915 at window.exparser.registerElement.methods._inputKey (uniapp://ready:182:401103)
13:19:24.935 at window.exparser.registerElement.methods._compositionend (uniapp://ready:182:399184)
13:19:24.955 at window.exparser.registerElement.methods._inputBlur (uniapp://ready:182:400385)
13:19:24.975 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:397675)
13:19:24.995 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:380071)
13:19:25.015 at uniapp://ready:182:380430
13:19:25.035 at window.exparser.registerElement.methods.asyncDfs (uniapp://ready:182:380583)
13:19:25.055 at uniapp://ready:182:380545
13:19:25.075 at window.exparser.registerElement.methods.getFormData (uniapp://ready:182:380187)
13:19:25.095 at uniapp://ready:182:380430 at uniapp://ready:182
梁生 (作者)
ios与安卓都是一样的,上一个版本是指切换到上一个版本,也就是2.3.7版本的。我这个问题是什么原因引起的?
2019-11-04 15:22
DCloud_UNI_GSQ
回复 梁生: 如果其他版本也有问题,应该和更新无关
2019-11-04 16:17
DCloud_uniCloud_WYQ
回复 梁生: 2.3.9修复这个问题,感谢反馈
2019-11-04 18:30