Merge branch 'gitlink_server' of http://106.75.45.236:3000/Gitlink/forgeplus-react into feature_GLCC

This commit is contained in:
何童崇 2022-05-27 17:29:45 +08:00
commit 597768d252
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function Index({onCancel,avatarImg,login}){
const cropper = useRef();
const saveAvatar = async () => {
const imgUrl = cropper.current.cropper.getCroppedCanvas().toDataURL("image/jpeg");
const imgUrl = cropper.current.cropper.getCroppedCanvas().toDataURL("image/png");
if (!imgUrl) {
message.info('请先上传图片');
}