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