feat(Calendar): add close-on-popstate prop

This commit is contained in:
陈嘉涵
2020-01-21 22:52:00 +08:00
parent 57d88bd586
commit 2b82dcc3dd
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -29,6 +29,7 @@ export default createComponent({
rangePrompt: String,
defaultDate: [Date, Array],
getContainer: [String, Function],
closeOnPopstate: Boolean,
confirmDisabledText: String,
type: {
type: String,
@@ -372,6 +373,7 @@ export default createComponent({
round={this.round}
position={this.position}
getContainer={this.getContainer}
closeOnPopstate={this.closeOnPopstate}
closeOnClickOverlay={this.closeOnClickOverlay}
onInput={this.togglePopup}
>