breaking change: rename get-container to teleport

This commit is contained in:
chenjiahan
2020-08-21 10:58:02 +08:00
parent 07d1a2590f
commit 52b187692b
39 changed files with 154 additions and 127 deletions
+2 -2
View File
@@ -27,11 +27,11 @@ export default createComponent({
show: Boolean,
title: String,
color: String,
teleport: [String, Object],
formatter: Function,
confirmText: String,
rangePrompt: String,
defaultDate: [Date, Array],
getContainer: [String, Function],
allowSameDay: Boolean,
confirmDisabledText: String,
type: {
@@ -487,7 +487,7 @@ export default createComponent({
round={this.round}
position={this.position}
closeable={this.showTitle || this.showSubtitle}
getContainer={this.getContainer}
teleport={this.teleport}
closeOnPopstate={this.closeOnPopstate}
closeOnClickOverlay={this.closeOnClickOverlay}
{...listeners}