Commit c5625bfdbaff0614b7196c92ad001304d835bf5d

Authored by 梁灏
1 parent af931455

update Modal

@hezhiying
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/components/modal/modal.vue
... ... @@ -264,7 +264,7 @@
264 264 },
265 265 title (val) {
266 266 if (this.$slots.header === undefined) {
267   - this.showHead = val?true:false;
  267 + this.showHead = !!val;
268 268 }
269 269 }
270 270 }
... ...