Browse Source

fix a messagebox bug

Leopoldthecoder 9 years ago
parent
commit
2d6cb2c4db
1 changed files with 1 additions and 0 deletions
  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();