Cascader 组件在完成一次选择后,如何在内部(不通过点击)更新选中状态,并反应到选中的 tab 上? #1031
Unanswered
mooncaker816
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
需求:
Cascader
首先完成了一次正常的选择流程,并通过onClose
方法将visible
属性置为false
。某一刻,需要更新当前选中的value
,使得再次显示该选择器的时候,tab
同步更新为新的结果。尝试将更新
value
的逻辑添加到了onClose
方法中(比如说清空value
),但是好像没有效果,请问该如何实现?Beta Was this translation helpful? Give feedback.
All reactions