feat(Calendar): add get-contaienr prop (#5609)

This commit is contained in:
neverland
2020-01-20 16:43:47 +08:00
committed by GitHub
parent 025811412b
commit 803727e2f9
4 changed files with 5 additions and 1 deletions
+2
View File
@@ -28,6 +28,7 @@ export default createComponent({
confirmText: String,
rangePrompt: String,
defaultDate: [Date, Array],
getContainer: [String, Function],
confirmDisabledText: String,
type: {
type: String,
@@ -370,6 +371,7 @@ export default createComponent({
value={this.value}
round={this.round}
position={this.position}
getContainer={this.getContainer}
closeOnClickOverlay={this.closeOnClickOverlay}
onInput={this.togglePopup}
>