mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 13:59:28 +08:00
parent
eedbaa965c
commit
f7f35f095b
@ -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