mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-28 13:31:32 +08:00
parent
6601c7895d
commit
fb3c18ff48
@ -28,7 +28,7 @@ interface FileItemProps {
|
|||||||
const FileList: React.FC<FileItemProps> = ({ id, list, files }) => {
|
const FileList: React.FC<FileItemProps> = ({ id, list, files }) => {
|
||||||
if (id === FileTypes.IMAGE && files?.length && files?.length > 0) {
|
if (id === FileTypes.IMAGE && files?.length && files?.length > 0) {
|
||||||
return (
|
return (
|
||||||
<div style={{ padding: 16 }}>
|
<div style={{ padding: 16, overflowY: 'auto' }}>
|
||||||
<Image.PreviewGroup>
|
<Image.PreviewGroup>
|
||||||
<Row gutter={[16, 16]}>
|
<Row gutter={[16, 16]}>
|
||||||
{files?.map((file) => (
|
{files?.map((file) => (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user