您也可以使用css来设置select2结果的高度(select控件的下拉部分)。 ul.select2-results { max-height: 200px; }. 200px是默认的高度,所以将其更改为所需的下拉高度 ...
確定! 回上一頁