ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
中文文档<https://v3.bootcss.com/> <https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css> <https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js> 以下代码解决模态框相互调用bug ~~~ $(document).ready(function() { $(document).on('show.bs.modal', '.modal', function() { var zIndex = 1040 + (10 * $('.modal:visible').length); $(this).css('z-index', zIndex); setTimeout(function() { $('.modal-backdrop').not('.modal-stack').css('z-index', zIndex - 1).addClass('modal-stack'); }, 0); }); }); ~~~