解决select2 在modal中搜索框无效的问题


$.fn.modal.Constructor.prototype.enforceFocus = function() {};

原文地址:https://www.cnblogs.com/Byme/p/10100556.html