el-select打印
时间: 2023-10-08 07:09:07 浏览: 81
el-select组件的问题可能是因为绑定的@change事件中的selectSystemChanged方法没有正确地显示数据。在代码中,可以看到selectSystemChanged方法会打印value和retList的值,但是并没有显示数据。这可能是因为retList没有正确地赋值。要解决这个问题,可以检查retList是否正确地从后端获取数据,并且确保数据正确赋值给retList变量。另外,还可以尝试强制刷新组件来更新数据的显示。在selectSystemChanged方法中使用this.$forceUpdate()方法可以尝试强制刷新组件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [element-ui的下拉选择框组件el-select,选择点击事件,不显示数据](https://blog.csdn.net/weixin_39249427/article/details/105393135)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [jpivot学习总结.doc](https://download.csdn.net/download/rzxiaosi/3898389)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文