el-select 放图标
时间: 2023-10-08 12:06:08 浏览: 169
el-select可以通过在代码中使用slot来实现在输入框前放置图标的效果。比如在代码中使用<i slot="prefix" class="el-input__icon el-icon-s-operation" />,这样就可以在el-select的输入框前放置一个图标了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [element-plus自定义el-select后缀图标](https://blog.csdn.net/qq_43651168/article/details/130493811)[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: 33.333333333333336%"]
- *2* [el-select头部添加icon图标](https://blog.csdn.net/weixin_44099060/article/details/125100529)[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: 33.333333333333336%"]
- *3* [解决vue elementUI 使用el-select 时 change事件的触发问题](https://download.csdn.net/download/weixin_38635092/14648352)[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: 33.333333333333336%"]
[ .reference_list ]
阅读全文