From 0cf88eeae3c8cdd6af7d84971612410beb06bf69 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 22 Feb 2018 15:13:41 +0800 Subject: [PATCH] fix --- components/avatar/Avatar.vue | 2 +- components/menu/index.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/avatar/Avatar.vue b/components/avatar/Avatar.vue index 090c0c008..1a1d5b9d4 100644 --- a/components/avatar/Avatar.vue +++ b/components/avatar/Avatar.vue @@ -44,7 +44,7 @@ export default { const { prefixCls, shape, size, src, icon } = this return { [`${prefixCls}`]: true, - [`${prefixCls}-image`]: !!src && this.state.isImgExist, + [`${prefixCls}-image`]: !!src, [`${prefixCls}-icon`]: !!icon, [`${prefixCls}-${shape}`]: true, [`${prefixCls}-lg`]: size === 'large', diff --git a/components/menu/index.vue b/components/menu/index.vue index 661ff42b2..0e72ee52b 100644 --- a/components/menu/index.vue +++ b/components/menu/index.vue @@ -1,6 +1,5 @@