Parcourir la source

fix a messagebox bug

Leopoldthecoder il y a 9 ans
Parent
commit
2d6cb2c4db
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/message-box/src/main.vue

+ 1 - 0
packages/message-box/src/main.vue

@@ -77,6 +77,7 @@
         if (this.modal) {
           document.body.style.overflow = this.bodyOverflow;
         }
+        this.opened = false;
 
         if (!this.transition) {
           this.doAfterClose();