-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] 【Enhancement】slider值范围较大时滑起来摩擦力很大 #2717
Labels
Comments
设置 |
我是设置0-100然后自己映射数据 |
也遇到了这个问题,如果和0~100映射的话,写起来也怪怪的 |
同遇到这个问题,我这边写的时时间条、不太好转化为0-100 |
这个问题 可以到slider组件的js文件里找到这个方法
把上面的diff 后面乘的100 换成 _this.data.max 即可 |
rex-zsd
pushed a commit
to rex-zsd/vant-weapp
that referenced
this issue
Dec 18, 2020
rex-zsd
added a commit
that referenced
this issue
Dec 18, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
设备
All
VantWeapp 版本
1.0.4
基础库版本
2.8.3
请提供核心代码片段链接
https://github.com/youzan/vant-weapp/blob/dev/dist/slider/index.js
描述问题
在设置slider值为较大值时,如600,slider滑起来会非常难滑
The text was updated successfully, but these errors were encountered: