fix: change `change` to `visibleChange`

pull/165/head
tjz 2018-06-10 21:32:24 +08:00
parent 1a7936c35d
commit 77f101ca3e
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ export default {
},
model: {
prop: 'visible',
event: 'change',
event: 'visibleChange',
},
data () {
return {
@ -44,7 +44,7 @@ export default {
this.sVisible = this.isNoTitle() ? false : visible
}
if (!this.isNoTitle()) {
this.$emit('change', visible)
this.$emit('visibleChange', visible)
}
},