更新时间:2023-10-12 19:18:46
这是解决我的问题:
对于bootstrap 3.0
For bootstrap 3.0
$('#myModal').on('shown.bs.modal', function () {
$(document).off('focusin.modal');
})
其他较低版本由telerik提供
for other lower version as provided by telerik
$('#myModal').on('shown', function () {
$(document).off('focusin.modal');
});