mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Tab: swipe-threshold less than 4 (#2128)
This commit is contained in:
parent
d84b13a6cc
commit
56231d90bc
@ -423,6 +423,10 @@ export default create({
|
||||
}
|
||||
}
|
||||
|
||||
if (this.scrollable) {
|
||||
style.flexBasis = 88 / (this.swipeThreshold) + '%';
|
||||
}
|
||||
|
||||
return style;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user