vue-treeselect 多选回显
时间: 2023-08-19 16:05:36 浏览: 218
可以通过设置`:flat="true"`属性来实现vue-treeselect多选情况下父子不联动的效果。具体的使用方法可查看官方文档的链接:https://www.vue-treeselect.cn/#flat-mode-and-sort-values [2。
在表单中,你可以使用`<TreeSelect>`组件,并通过`:value`属性来绑定数据的值,通常是id或者code。同时,你还需要提供一个`options`属性来指定数据源。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [vue-treeselect绑值、回显等常见问题总结](https://blog.csdn.net/weixin_49668076/article/details/125256382)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [treeselect 多选回显容易出错的注意点](https://blog.csdn.net/weixin_45102212/article/details/121283735)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文