cascader回显
时间: 2023-11-07 19:17:37 浏览: 105
Cascader回显可以通过调用编辑或详情接口获取后端保存的数据,并将数据填充到v-model绑定的数据源中。在这个过程中,需要判断数据是否为空,将非空的id赋值给数据源。需要注意的是,在回显时不要使用push方法,因为push无法将回显数据赋值到v-model绑定的数据源中。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Cascader 级联选择、回显](https://blog.csdn.net/qq_29644709/article/details/114403127)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Element级联选择器Cascader使用(保存、回显)](https://blog.csdn.net/qq_38361800/article/details/118852736)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文