mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 01:17:15 +00:00
[Improvement] uniform fade animation (#410)
This commit is contained in:
@@ -66,7 +66,7 @@ const PopupManager = {
|
||||
const el = modal.$el;
|
||||
|
||||
if (el.parentNode) {
|
||||
el.parentNode.removeChild(el);
|
||||
modal.visible = false;
|
||||
}
|
||||
|
||||
if (context.top) {
|
||||
@@ -75,7 +75,8 @@ const PopupManager = {
|
||||
targetNode.appendChild(el);
|
||||
Object.assign(modal, {
|
||||
...modalDefaultConfig,
|
||||
...config
|
||||
...config,
|
||||
visible: true
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user