mui icon indicating copy to clipboard operation
mui copied to clipboard

微信开发者工具里点单选按钮报错

Open wsygdiv opened this issue 6 years ago • 1 comments

Uncaught TypeError: Cannot read property '0' of undefined 在 mui.min.js:6 的位置 image

wsygdiv avatar Aug 22 '18 02:08 wsygdiv

测试文件:http://www.dcloud.io/hellomui/js/mui.js 微信开发者工具版本:1.02.1810250 使用未压缩的文件可以追踪到错误位置是在964行,touch = event.detail.gesture.changedTouches[0]; 其中undefined变量是gresture,打印event查看是一个CustomEvent应该是开发者工具为了模拟tap事件做的,但是其中的gesture没有设置相应的数据导致出错,这个可以自己修改相应的代码进行修复

jinger7281 avatar Oct 31 '18 12:10 jinger7281