Skip to content

Commit

Permalink
feat(dialog): 调整参数默认为点击外部不关闭对话框
Browse files Browse the repository at this point in the history
  • Loading branch information
olivewind committed Jul 25, 2018
1 parent 56c7bda commit 0544e6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/routers/dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@
{
visible: false,
header: {
title: '不可以通过点击外部关闭 Dialog',
title: '可以通过点击外部关闭 Dialog',
},
closeOnClickOutside: false,
closeOnClickOutside: true,
},
{
visible: false,
Expand Down
2 changes: 1 addition & 1 deletion src/components/dao-dialog/dao-dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default {
},
closeOnClickOutside: {
type: Boolean,
default: true,
default: false,
},
closeOnPressEscape: {
type: Boolean,
Expand Down

0 comments on commit 0544e6f

Please sign in to comment.