breaking change: disable allow-html by default

This commit is contained in:
chenjiahan
2020-09-14 15:42:04 +08:00
parent c68e77abca
commit 02c7a75ee3
8 changed files with 11 additions and 15 deletions
+1 -4
View File
@@ -27,6 +27,7 @@ export default createComponent({
width: [Number, String],
message: String,
callback: Function,
allowHtml: Boolean,
className: null,
beforeClose: Function,
messageAlign: String,
@@ -36,10 +37,6 @@ export default createComponent({
confirmButtonText: String,
confirmButtonColor: String,
closeOnClickOverlay: Boolean,
allowHtml: {
type: Boolean,
default: true,
},
transition: {
type: String,
default: 'van-dialog-bounce',