Skip to content

Commit 77f101c

Browse files
committed
fix: change change to visibleChange
1 parent 1a7936c commit 77f101c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/tooltip/Tooltip.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default {
2626
},
2727
model: {
2828
prop: 'visible',
29-
event: 'change',
29+
event: 'visibleChange',
3030
},
3131
data () {
3232
return {
@@ -44,7 +44,7 @@ export default {
4444
this.sVisible = this.isNoTitle() ? false : visible
4545
}
4646
if (!this.isNoTitle()) {
47-
this.$emit('change', visible)
47+
this.$emit('visibleChange', visible)
4848
}
4949
},
5050

0 commit comments

Comments
 (0)