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 -1
View File
@@ -45,7 +45,7 @@ Dialog.defaultOptions = {
callback: null,
teleport: 'body',
className: '',
allowHtml: true,
allowHtml: false,
lockScroll: true,
transition: 'van-dialog-bounce',
beforeClose: null,