[Solution found!] 您需要指定要解析的属性宽度,以保留元素宽度$(document).ready(function() { $("#myselect").select2({ width: 'resolve' }); });
確定! 回上一頁