头像裁剪改为保留源格式上传,避免服务端只存 WebP。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 18:30:27 +08:00
parent 2c06eaccb2
commit 3aca5c42c5
2 changed files with 18 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ export default function AvatarCropDialog({
<DialogHeader>
<DialogTitle>裁剪头像</DialogTitle>
<DialogDescription>
拖动图片调整位置,滚轮或滑块缩放。GIF 裁剪后将变为静态 JPG。
拖动图片调整位置,滚轮或滑块缩放。裁剪结果按原图格式保存(JPG→JPEG,PNG 保留透明);GIF 裁剪后变为静态 JPG。服务端会额外生成 WebP。
</DialogDescription>
</DialogHeader>