You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner. It is now read-only.
比如我用了vux swiper ,向左右滑动的时候,很容易触发pull的上下滑动,这就很不美观了。我在
distanceStart: {
type: Number,
default: 0
},
handleTouchMove: function handleTouchMove(event) {
this.currentY = event.touches[0].clientY;
this.distance = (this.currentY - this.startY) / this.distanceIndex + this.beforeDiff;
//todo: 修改触发下拉距离 ,手机端app(ios)无效
if(this.distance<this.distanceStart)
return
加了一句判断,电脑端浏览器模拟手机有效,但是打包到ios app测试就出错了。本人js很菜,实在不知道怎么改了,只能求助了o(╥﹏╥)o
The text was updated successfully, but these errors were encountered: