feat(Dialog): enable close-on-popsate by default (#6873)

This commit is contained in:
neverland
2020-07-25 14:56:45 +08:00
committed by GitHub
parent cdf3bebfab
commit 0bae33de4c
4 changed files with 14 additions and 10 deletions
+9 -5
View File
@@ -21,6 +21,14 @@ export default createComponent({
confirmButtonText: String,
confirmButtonColor: String,
showCancelButton: Boolean,
overlay: {
type: Boolean,
default: true,
},
allowHtml: {
type: Boolean,
default: true,
},
transition: {
type: String,
default: 'van-dialog-bounce',
@@ -29,7 +37,7 @@ export default createComponent({
type: Boolean,
default: true,
},
overlay: {
closeOnPopstate: {
type: Boolean,
default: true,
},
@@ -37,10 +45,6 @@ export default createComponent({
type: Boolean,
default: false,
},
allowHtml: {
type: Boolean,
default: true,
},
},
data() {