Ahmed AlSammany 2019-01-31 00:32:44 +02:00 committed by 偏右
parent 1c1d7e7de2
commit 52846791b5

View File

@ -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 });
}
}