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
@@ -13,9 +13,9 @@ export default createComponent({
...popupSharedProps,
title: String,
duration: [Number, String],
teleport: [String, Object],
cancelText: String,
description: String,
getContainer: [String, Function],
options: {
type: Array,
default: () => [],
@@ -141,7 +141,7 @@ export default createComponent({
duration={this.duration}
lazyRender={this.lazyRender}
lockScroll={this.lockScroll}
getContainer={this.getContainer}
teleport={this.teleport}
closeOnPopstate={this.closeOnPopstate}
closeOnClickOverlay={this.closeOnClickOverlay}
safeAreaInsetBottom={this.safeAreaInsetBottom}