mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Tab: swipe-threshold less than 4 (#2128)
This commit is contained in:
@@ -423,6 +423,10 @@ export default create({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.scrollable) {
|
||||||
|
style.flexBasis = 88 / (this.swipeThreshold) + '%';
|
||||||
|
}
|
||||||
|
|
||||||
return style;
|
return style;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user