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
@@ -95,8 +95,8 @@ export default createComponent({
},
onClickWrapper(event) {
// prevent being identified as clicking outside and closed when use get-contaienr
if (this.getContainer) {
// prevent being identified as clicking outside and closed when using teleport
if (this.teleport) {
event.stopPropagation();
}
},