解决方案来自 世界最大的基友交友中心
将以下代码,插入select2.js中即可。
$.ui.dialog.prototype._allowInteraction = function(e) {
return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop').length;
};
解决方案来自 世界最大的基友交友中心
将以下代码,插入select2.js中即可。
$.ui.dialog.prototype._allowInteraction = function(e) {
return !!$(e.target).closest('.ui-dialog, .ui-datepicker, .select2-drop').length;
};
转载于:https://my.oschina.net/OriginLeon/blog/879649