是
Cascader
在动态加载的情况下,是否可以根据value数组内的内容自动获取多级数据并回显?现在貌似只能手工处理,而且还没有什么省事的办法。
Translation of this issue:
yes
Cascader
In case of dynamic loading, is it possible to automatically retrieve multiple levels of data and to retrieve them based on content within the value array? It can only be handled manually, and there is no easy way to save it.
不太清楚你的意思,这个不是本来就是要自己处理的吗。你可以再说清楚点嘛?
@baiyaaaaa 根据el-cascader中的v-model数组字段自动带出下级。当然这个也可以自己手动处理。
动态加载次级项 是否可以加载更多级呢?
请问这个问题如果手动解决怎么弄?
@slipkinem 手动触发一下handleItemChange带出下级。 然后在给次级默认值
官方给的例子根本不能算是动态加载。
例子给的只是两级,而且下标还是写死的情况下。
那么请问实际使用,四级或者更多的情况下,我的要怎么给我的子级赋值。考虑过么?
手动有比较好的解决方案吗
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
动态加载次级项 是否可以加载更多级呢?