在BootStrap的modal中使用Select2

  bootstrap 3

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

bootstrap4

$.fn.modal.Constructor.prototype._enforceFocus = function() {};
posted @ 2018-10-25 14:37  在 水 一 方  阅读(686)  评论(0编辑  收藏  举报