[bugfix] Toast: should not render overlay when cleared (#3025)

This commit is contained in:
neverland
2019-03-21 14:18:50 +08:00
committed by GitHub
parent 5c0ae2dc06
commit 055387108f
2 changed files with 33 additions and 0 deletions
+4
View File
@@ -186,6 +186,10 @@ export const PopupMixin = {
},
renderOverlay() {
if (this.$isServer || !this.value) {
return;
}
if (this.overlay) {
openOverlay(this, {
zIndex: context.zIndex++,