在某些安卓手机canvas组件bindtouchmove事件不能触发

发布于 8 年前作者 libai15357 次浏览最后编辑 8 年前来自 ask

在模拟器上面是好好的,用了iphone手机试了,也没问题,但是在某些安卓手机(比如 红米 Note 4x), touchmove事件就无法触发了,求解决

wxml:

<view class="captcha_bar">
<canvas canvas-id="ballCanvas" class="ball_bar" ></canvas>
<canvas canvas-id="captchaCanvas"
class="captcha_slider"
bindtouchmove="handleTouch"
bindtouchend="handleTouchEnd" >
</canvas>

</view>


js:

handleTouch() {

    console.log('hello!')

}


0 回复
暂无回复