bootstrap 3
$.fn.modal.Constructor.prototype.enforceFocus = function() {};
bootstrap4
$.fn.modal.Constructor.prototype._enforceFocus = function() {};
bootstrap 3
$.fn.modal.Constructor.prototype.enforceFocus = function() {};
bootstrap4
$.fn.modal.Constructor.prototype._enforceFocus = function() {};
转载于:https://www.cnblogs.com/w2011/p/9849703.html