fix: change `change` to `visibleChange`
parent
1a7936c35d
commit
77f101ca3e
|
@ -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…
Reference in New Issue