fix: change `change` to `visibleChange`

pull/77/merge
tjz 7 years ago
parent 78f7c2e4b1
commit d5baf1bfb1

@ -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)
}
},

Loading…
Cancel
Save