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; } } }