学无先后,达者为师

网站首页 Vue 正文

ie浏览器下ant-design-vue select 拉框滚动条不显示的解决办法

作者:Austinu 更新时间: 2022-03-15 Vue

先上代码:

                  <a-select v-model="queryParam.ticket_name_code"  placeholder="请选择" :getPopupContainer= "(target) => target.parentNode">
                       ...
                  	</a-select-option>
                  </a-select>

主要是加这个,而且必须这么加。

:getPopupContainer= "(target) => target.parentNode"

原文链接:https://blog.csdn.net/Austin_/article/details/121350780

栏目分类
最近更新