fix: change `change` to `visibleChange`

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

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

Loading…
Cancel
Save