From 02860a1d24e5dec2d544e4683e3528a4859ccdeb Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 8 Aug 2018 10:18:37 +0800 Subject: [PATCH] fix: add avatar support event listeners #102 --- components/avatar/Avatar.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/avatar/Avatar.jsx b/components/avatar/Avatar.jsx index 4b68cf7eb..51ea542d5 100644 --- a/components/avatar/Avatar.jsx +++ b/components/avatar/Avatar.jsx @@ -81,9 +81,9 @@ export default { }) }, render () { - const { classes, prefixCls, src, icon, childrenStyle, $slots } = this + const { classes, prefixCls, src, icon, childrenStyle, $slots, $listeners } = this return ( - + {src ? : (icon ? :