feat(Calendar): add show-title prop (#5779)

This commit is contained in:
chenjiahan
2020-03-09 20:37:37 +08:00
parent ab82f42f6a
commit e575bb4bb1
5 changed files with 27 additions and 2 deletions
+5
View File
@@ -69,6 +69,10 @@ export default createComponent({
type: Boolean,
default: true,
},
showTitle: {
type: Boolean,
default: true,
},
showConfirm: {
type: Boolean,
default: true,
@@ -384,6 +388,7 @@ export default createComponent({
<div class={bem()}>
<Header
title={this.title}
showTitle={this.showTitle}
monthTitle={this.monthTitle}
scopedSlots={{
title: () => this.slots('title'),