From d5baf1bfb15683e47dde5a9aa6c14d2852863f8f Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sun, 10 Jun 2018 21:32:24 +0800 Subject: [PATCH] fix: change `change` to `visibleChange` --- components/tooltip/Tooltip.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tooltip/Tooltip.jsx b/components/tooltip/Tooltip.jsx index 1cb160834..e22d334ad 100644 --- a/components/tooltip/Tooltip.jsx +++ b/components/tooltip/Tooltip.jsx @@ -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) } },