mirror of
https://github.com/youzan/vant.git
synced 2025-12-19 01:02:29 +08:00
popup
This commit is contained in:
@@ -81,13 +81,9 @@ const PopupManager = {
|
||||
|
||||
addClass(modalDom, 'zan-modal');
|
||||
|
||||
if (dom && dom.parentNode && dom.parentNode.nodeType !== 11) {
|
||||
dom.parentNode.appendChild(modalDom);
|
||||
} else {
|
||||
document.body.appendChild(modalDom);
|
||||
}
|
||||
document.body.appendChild(modalDom);
|
||||
|
||||
if (zIndex) {
|
||||
if (zIndex && !hasModal) {
|
||||
modalDom.style.zIndex = zIndex;
|
||||
}
|
||||
modalDom.style.display = '';
|
||||
|
||||
Reference in New Issue
Block a user