mirror of https://github.com/ElemeFE/element
Popover: fix the arrow appears, fixed #412
parent
a759aaf500
commit
955417e6cb
|
@ -86,6 +86,7 @@ export default {
|
||||||
this.popperJS.onCreate(_ => {
|
this.popperJS.onCreate(_ => {
|
||||||
this.$emit('created', this);
|
this.$emit('created', this);
|
||||||
this.resetTransformOrigin();
|
this.resetTransformOrigin();
|
||||||
|
this.$nextTick(this.updatePopper);
|
||||||
});
|
});
|
||||||
this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();
|
this.popperJS._popper.style.zIndex = PopupManager.nextZIndex();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue