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 @@