diff --git a/examples/routers/dialog.vue b/examples/routers/dialog.vue index d17636896..f83af8522 100644 --- a/examples/routers/dialog.vue +++ b/examples/routers/dialog.vue @@ -262,9 +262,9 @@ { visible: false, header: { - title: '不可以通过点击外部关闭 Dialog', + title: '可以通过点击外部关闭 Dialog', }, - closeOnClickOutside: false, + closeOnClickOutside: true, }, { visible: false, diff --git a/src/components/dao-dialog/dao-dialog.vue b/src/components/dao-dialog/dao-dialog.vue index 807ec9087..8eef9c572 100644 --- a/src/components/dao-dialog/dao-dialog.vue +++ b/src/components/dao-dialog/dao-dialog.vue @@ -75,7 +75,7 @@ export default { }, closeOnClickOutside: { type: Boolean, - default: true, + default: false, }, closeOnPressEscape: { type: Boolean,