feta:图片预览支持旋转

This commit is contained in:
budou 2025-03-25 22:08:13 +08:00 committed by GitHub
parent f1e01e42b3
commit a21ddf7382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,7 +112,7 @@ export class ImageCell extends MessageCell<any, ImageCellState> {
visible={showPreview}
noImgDetails={true}
downloadable={true}
rotatable={false}
rotatable={true}
changeable={false}
showTotal={false}
onMaskClick={() => { this.setState({ showPreview: false }); }}
@ -121,4 +121,4 @@ export class ImageCell extends MessageCell<any, ImageCellState> {
/>
</MessageBase>
}
}
}