diff --git a/src/forge/users/Avatar/Index.jsx b/src/forge/users/Avatar/Index.jsx index 8645b035..aa7669a6 100644 --- a/src/forge/users/Avatar/Index.jsx +++ b/src/forge/users/Avatar/Index.jsx @@ -81,6 +81,7 @@ function Index({onCancel,avatarImg,login}){ guides={false} preview="#updateAvatarImg" ref={cropper} + aspectRatio={1} /> {/* 仅支持JPG、GIF、PNG,且文件小于2M */}