touchend 在安卓上失效
document.querySelector(".spinner").addEventListener('touchstart', function(event) {
$(".y-con").find('span').text('倾听中...');
wx.startRecord({ cancel: function () {
alert('用户拒绝授权录音');
$(".yuyin").hide();
$(".y-con").find('span').text('请说话...');
}
});
})在 离开 元素 时 touchend 失效! 再次点击 元素时 touchend 才生效!
这个是怎么回事?
互换的青春
相关分类