[Improvement] Dialog: add before-close prop (#881)

This commit is contained in:
neverland
2018-04-17 14:16:28 +08:00
committed by GitHub
parent f87dd825d7
commit 6d74198e27
7 changed files with 82 additions and 51 deletions

View File

@@ -35,6 +35,7 @@ Dialog.defaultOptions = {
message: '',
overlay: true,
lockScroll: true,
beforeClose: null,
confirmButtonText: '',
cancelButtonText: '',
showConfirmButton: true,