Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用角度模型服务 ($modal) 显示弹出窗口。我遇到了一个问题,比如当用户在模型窗口上单击退格键时,父窗口会导航到上一页。我该如何解决这个问题?
在您的 $modal.open() 中设置以下内容:
backdrop: 'static' keyboard: false