Merge branch 'feature_GLCC' of http://106.75.45.236:3000/tongChong/forgeplus-react into feature_IDE

This commit is contained in:
何童崇 2022-05-27 17:30:55 +08:00
commit b3baee328c
2 changed files with 39 additions and 39 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('请先上传图片');
}

View File

@ -63,9 +63,9 @@ function Partner() {
</div>
<div className='cont cont3 mt15'>
钻石赞助商
特邀合作单位
<div className='pt10'>
<div className="sponsor" onClick={()=>{window.open("https://openmmlab.com/")}}><img src={sponsor11} className='gitlink' alt='OpenMMLab'/></div>
<div className="sponsor" onClick={() => { window.open("https://github.com/open-mmlab") }}><img src={sponsor11} className='gitlink' alt='OpenMMLab' /></div>
</div>
</div>