模态框中加入 data-backdrop=”static” 属性
<div class="modal fade examplemodal" tabindex="-1" aria-labelledby="mySmallModalLabel" aria-hidden="true" data-backdrop="static"></div>
XGR's Blog
积知累识 分享有用