mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 19:24:16 +00:00
[bugfix] Toast: should add z-index if previous toast has not disappeared (#3153)
This commit is contained in:
@@ -201,6 +201,10 @@ export const PopupMixin = {
|
||||
closeOverlay(this);
|
||||
}
|
||||
|
||||
this.updateZIndex();
|
||||
},
|
||||
|
||||
updateZIndex() {
|
||||
this.$nextTick(() => {
|
||||
this.$el.style.zIndex = context.zIndex++;
|
||||
});
|
||||
|
Reference in New Issue
Block a user