From c5625bfdbaff0614b7196c92ad001304d835bf5d Mon Sep 17 00:00:00 2001
From: 梁灏 <admin@aresn.com>
Date: Tue, 25 Apr 2017 14:08:01 +0800
Subject: [PATCH] update Modal

---
 src/components/modal/modal.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue
index 75e350a..b27b6ac 100644
--- a/src/components/modal/modal.vue
+++ b/src/components/modal/modal.vue
@@ -264,7 +264,7 @@
             },
             title (val) {
                 if (this.$slots.header === undefined) {
-                    this.showHead = val?true:false;
+                    this.showHead = !!val;
                 }
             }
         }
--
libgit2 0.21.4