The modal box is an information editing window, which involves a lot of content. It took me a long time to fill it in. If I accidentally click on the blank space...
<span style="font-size: 14px">$('#myModal').modal({backdrop: 'static', keyboard: <span style="color: #0000ff">false</span></span><span style="color: #000000"><span style="font-size: 14px">});</span><br></span>
<span style="font-size: 16px">backdrop:static //空白处不关闭. keyboard:false //esc键盘不关闭.</span>
The above code is used to open the modal box