fix: bugs

This commit is contained in:
zerosoul
2022-04-22 17:08:26 +08:00
parent c513289513
commit dc9df5c18c
4 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -104,14 +104,14 @@ function ResourceManagement({ fileMessages }) {
content,
created_at,
from_uid,
properties: { name, file_type, size },
properties: { name, content_type, size },
} = data;
return (
<FileBox
preview={view == Views.grid}
flex={view == Views.item}
key={mid}
file_type={file_type}
file_type={content_type}
content={content}
created_at={created_at}
from_uid={from_uid}