mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
dialog component
This commit is contained in:
@@ -52,6 +52,9 @@ const PopupManager = {
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 遮罩层点击回调,`closeOnClickOverlay`为`true`时会关闭当前`popup`
|
||||
*/
|
||||
handleOverlayClick() {
|
||||
const topModal = PopupManager.modalStack[PopupManager.modalStack.length - 1];
|
||||
if (!topModal) return;
|
||||
|
||||
Reference in New Issue
Block a user