el-cascader-pannel 加上宽度没有效果
时间: 2023-08-24 09:10:53 浏览: 153
回答: 如果您想给el-cascader-pannel添加宽度,可以通过给el-cascader组件添加一个自定义的类名,并在该类名下设置宽度样式。例如,您可以在el-cascader组件上添加一个class属性,如class="custom-cascader",然后在样式表中设置.custom-cascader .el-cascader-panel的宽度样式。这样就可以实现el-cascader-pannel的宽度设置了。\[1\]
#### 引用[.reference_title]
- *1* [Vue使用Element的级联选择器Cascader,选中后下拉框自动关闭](https://blog.csdn.net/Xiaqiyule/article/details/109593401)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [【element】el-date-picker限制只可以选择前后一个月时间,只能选择今年的时间,大于今天的不可选(或 只能...](https://blog.csdn.net/qq_40591925/article/details/124855727)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [el-tab设置默认激活的标签页](https://blog.csdn.net/Sean_0819/article/details/126695894)[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^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文