1
0
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 ()

This commit is contained in:
neverland 2018-11-23 19:53:09 +08:00 committed by GitHub
parent d84b13a6cc
commit 56231d90bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -423,6 +423,10 @@ export default create({
} }
} }
if (this.scrollable) {
style.flexBasis = 88 / (this.swipeThreshold) + '%';
}
return style; return style;
} }
} }