当前位置:网站首页>Antdesign a-select 下拉框超出长度换行显示
Antdesign a-select 下拉框超出长度换行显示
2022-08-05 07:14:00 【温柔的风归功于带笑的你】
<a-form-model-item label="检查诊室:" style="width: 230px !important;">
<div ref="selectBox" class="selectdrop">
<a-select v-model="stuRoomId" :getPopupContainer="()=>this.$refs.selectBox" style="width: 140px;" @change="handleChangeRoom">
<a-select-option v-for="item in localStuRoomList" :key="item.roomId">{
{item.roomName}}</a-select-option>
</a-select>
</div>
</a-form-model-item>
::v-deep .selectdrop .ant-select-dropdown-menu .ant-select-dropdown-menu-item{
white-space: normal;
word-break: break-all;
}
边栏推荐
猜你喜欢
随机推荐
Why does Mysql fail to create a database
七夕?编程?
专用机终端安装软件后报IP冲突
Shiny04---Application of DT and progress bar in shiny
2022.8.2 模拟赛
A small problem with mysql using the in function
唤醒手腕 - 微信小程序、QQ小程序、抖音小程序学习笔记(更新中)
MAYA船的建模
工作3年,回想刚入门和现在的今昔对比,笑谈一下自己的测试生涯
MobileNetV1架构解析
【instancetype类型 Objective-C】
How to avoid online memory leaks
cmake 学习使用笔记(三)
线程池的使用(结合Future/Callable使用)
YOLOv3 SPP理论详解(包括CIoU及Focal loss)
Put Cloudflare on the website (take Tencent Cloud as an example)
400 times performance improvement 丨 swap valuation optimization case calculation
Liunx教程超详细(完整)
导出SQLServer数据到Excel中
MAYA大炮建模