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
3.3.1(最新)
https://salt-ui.github.io/components/slot 初始化时,设定默认选中值,弹出选择框,点击完成,并没有得到临时值
在官方Demo,弹出下拉框之前设置默认选中Value,如下代码 showSlot() { this.setState({value:[{ text:2004, value:2004 }]}); this.refs.slot.show(); } 弹出效果如图 点击完成没有得到2004,而是得到2000
showSlot() { this.setState({value:[{ text:2004, value:2004 }]}); this.refs.slot.show(); }
The text was updated successfully, but these errors were encountered:
fix issue #52
9262b8b
No branches or pull requests
这是一个错误报告
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(); }
弹出效果如图
点击完成没有得到2004,而是得到2000
The text was updated successfully, but these errors were encountered: