Skip to content
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

Salt UI 老虎机初始化BUG #52

Closed
1 task done
kaoleba opened this issue Dec 20, 2017 · 0 comments
Closed
1 task done

Salt UI 老虎机初始化BUG #52

kaoleba opened this issue Dec 20, 2017 · 0 comments

Comments

@kaoleba
Copy link

kaoleba commented Dec 20, 2017

这是一个错误报告

  • 错误报告

SaltUI 版本

3.3.1(最新)

官方Demo

https://salt-ui.github.io/components/slot
初始化时,设定默认选中值,弹出选择框,点击完成,并没有得到临时值

复现步骤

在官方Demo,弹出下拉框之前设置默认选中Value,如下代码
showSlot() { this.setState({value:[{ text:2004, value:2004 }]}); this.refs.slot.show(); }
弹出效果如图
image
点击完成没有得到2004,而是得到2000

eternalsky added a commit that referenced this issue Dec 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants