forked from Gitlink/forgeplus-react
截取头像-正方形
This commit is contained in:
parent
bb7732c666
commit
ac93cfbc8a
|
@ -81,6 +81,7 @@ function Index({onCancel,avatarImg,login}){
|
|||
guides={false}
|
||||
preview="#updateAvatarImg"
|
||||
ref={cropper}
|
||||
aspectRatio={1}
|
||||
/>
|
||||
{/* <span className={"tips"}>仅支持JPG、GIF、PNG,且文件小于2M</span> */}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue