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
+1 -1
View File
@@ -70,6 +70,7 @@ Dialog.defaultOptions = {
message: '',
overlay: true,
callback: null,
teleport: 'body',
className: '',
allowHtml: true,
lockScroll: true,
@@ -78,7 +79,6 @@ Dialog.defaultOptions = {
overlayClass: '',
overlayStyle: null,
messageAlign: '',
getContainer: 'body',
cancelButtonText: '',
cancelButtonColor: null,
confirmButtonText: '',