<el-select collapse-tags>
时间: 2023-08-18 15:08:23 浏览: 240
回答: `<el-select collapse-tags>`是element-ui的选择器组件(el-select)中的一个属性,用于控制选择标签的折叠行为。当标签过多时,使用该属性可以将多余的标签折叠显示,并在最后一个标签处显示一个折叠提示。引用中的代码示例展示了如何在element-ui的选择器组件中使用`<el-select collapse-tags>`属性。在示例中,使用`collapse-tags`属性来实现禁用状态下折叠标签的功能。同时,为了修改标签的样式,可以在样式表中使用引用中的代码进行设置。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [elementui el-select collapse-tags文字过长换行问题](https://blog.csdn.net/dadawdawdadadw/article/details/127811121)[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]
- *2* [使用el-tooltip展示el-select多选项collapse-tags collapse-tags-tooltip](https://blog.csdn.net/zhaowenxue/article/details/125006432)[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]
- *3* [el-select 多选 添加collapse-tags之后换行问题](https://blog.csdn.net/weixin_53558474/article/details/126577918)[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]
[ .reference_list ]
阅读全文