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
如图所示,动态设置的values,在change事件中是这个样子。。。
The text was updated successfully, but these errors were encountered:
动态改变备选值数组需要使用 setSlotValues 方法。
setSlotValues
Sorry, something went wrong.
@Leopoldthecoder 你好,按照你说的,那么这个picker对象怎么获取呢?目前我只知道在onDataChange事件中的回调里面有picker对象,我可能需要全局的Picker对象来setSlotValues
<mt-picker ref="picker"> ... </mt-picker>
这样就可以获取到 Picker 实例:
this.$refs.picker.setSlotValues(...)
@Leopoldthecoder 非常感谢,可以了~
你好,请问,你获取的到的values[0]是不是undefined?
No branches or pull requests
如图所示,动态设置的values,在change事件中是这个样子。。。
The text was updated successfully, but these errors were encountered: