We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Node: 10.11.0 Taro: 1.0.7 Taro-UI: 1.3.3
AtSlider根据设置的value正确显示滑块的位置。
value
改变AtSlider传入的value值,AtSlider滑块的位置并没有按预期改变。
AtSlider内部实现使用了state._value来设置小程序原生slider的value。但是在props.value发送改变的时候并没有重新设置state._value。
state._value
props.value
The text was updated successfully, but these errors were encountered:
fix(slider): 修复 AtSlider 变更 value 无效的问题 (#135)
b25e996
chore(release): 发布 v1.3.5 版本
3baecf1
- 修复 AtSlider 无法变更 value props 不生效的问题 (#135)
已修复,麻烦升级到 v1.3.5 版本
Sorry, something went wrong.
Merge branch 'feat_component_steps' into release_v1.4.0
3657ddd
* feat_component_steps: docs(step): 增加文档 fix(steps): 细节修改 feat(steps): 增加types feat(steps): 新增步骤条组件 Revert "test(search-bar): 修复测试" test(search-bar): 修复测试 docs: 修复文档错误 docs(navbar): 修复文档错误 docs: 增加常见问题说明 fix: 修复 types 是否必须 docs: 更新文档说明 fix(textarea): 组件 props 修改 docs: 增加组件使用版本号说明 chore(release): 发布 v1.3.5 版本 fix(slider): 修复 AtSlider 变更 value 无效的问题 (#135) # Conflicts: # @types/index.d.ts # docs/nav.config.yml # src/app.js # src/index.js # src/pages/panel/index.js # src/style/theme/default.scss
koppthe
No branches or pull requests
重现步骤
依赖的版本号
Node: 10.11.0
Taro: 1.0.7
Taro-UI: 1.3.3
预期结果
AtSlider根据设置的
value
正确显示滑块的位置。实际结果
改变AtSlider传入的
value
值,AtSlider滑块的位置并没有按预期改变。相关链接
原因
AtSlider内部实现使用了
state._value
来设置小程序原生slider的value
。但是在props.value
发送改变的时候并没有重新设置state._value
。The text was updated successfully, but these errors were encountered: