vue移动端长按事件

var timeOutEvent=0;//定时器 // html <div @touchstart="gotouchstart" @touchmove="gotouchmove" @touchend="gotouchend"></div> //js gotouchstart(){ let that = this; clearTimeout(timeOutEvent);//清除定
相关文章
相关标签/搜索