模态框-如何设置使得点击遮罩层不会关闭模态框 $("#模态框名字").modal({ show:true, backdrop:'static' }); 或者$('#模态框名字').modal({backdrop: 'static', keyboard: false});