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