Environment
Windows/Chrome67/Vue@2.5.16
Reproduction link
https://jsfiddle.net/Lstoryc/ue7jzdqs/
Steps to reproduce
当把 change-on-select 去掉,能正常显示绑定的值并在下拉选项中选中,反之只有第一级的数据选中
What is expected?
和未设置change-on-select一致效果,正常显示绑定值
What is actually happening?
只显示第一级数据
4条答案
按热度按时间ecbunoof1#
Translation of this issue:
Environment
Windows/Chrome67/Vue@2.5.16
Reproduction link
https://jsfiddle.net/Lstoryc/ue7jzdqs/
Steps to reproduce
When the change-on-select is removed, the value of the binding can be displayed normally and selected in the drop-down option, whereas only the first level data is selected.
What is expected?
The same effect is not set with change-on-select, and the binding value is displayed normally.
What is actually happening?
Only display first level data
ma8fv8wu2#
@icarusion 大腿 求解 谢谢
fhg3lkii3#
也遇到了同样的问题,本想动态的设置change-on-select,但由于级联又是异步的,无法找到合适的时间点更改change-on-select
iecba09b4#
最后用动态更改change-on-select的方式规避了
iView Cascader级联选择器