From c5625bfdbaff0614b7196c92ad001304d835bf5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Tue, 25 Apr 2017 14:08:01 +0800 Subject: [PATCH] update Modal @hezhiying --- 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 75e350a7..b27b6ac6 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; } } }