mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
This commit is contained in:
parent
1c1d7e7de2
commit
52846791b5
@ -60,7 +60,7 @@ export default class Avatar extends React.Component<AvatarProps, AvatarState> {
|
||||
}
|
||||
|
||||
if (prevProps.src !== this.props.src) {
|
||||
this.setState({ isImgExist: true });
|
||||
this.setState({ isImgExist: true, scale: 1 });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user