禁止ios缩放,双击和双指
/*禁止ios缩放,双击和双指*/
window.onload=function () {
document.addEventListener('touchstart',function (event) {
if(event.touches.length>1){
event.preventDefault();
}
});
var lastTouchEnd=0;
document.addEventListener('touchend',function (event) {
var no
原创
2020-07-10 14:46:15 ·
206 阅读 ·
0 评论