van-cascader级联选择器,当手动给cascaderValue赋值以后,有没有方法获得完整的选中路径 #13260
Unanswered
wangyuanxing
asked this question in
Q&A
Replies: 1 comment
-
目前自己的解决方法是写一个方法,根据末级的value值,再查一遍完整的options,返回该末级的完整路径。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
问题如上,当我给cascaderValue赋值末级的value之后,再次点开级联选择器是正常渲染出我赋值的层级的。但是此时没有触发change和finish事件。我想此时拿到selectedOptions,请问现在有方法吗?看了实例下没有selectedOptions这类参数
Beta Was this translation helpful? Give feedback.
All reactions