bill 7 months ago
parent
commit
34096e43b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/api/material.ts

+ 1 - 1
src/api/material.ts

@@ -63,7 +63,7 @@ export const fetchMaterialPage = async (params: MaterialPageProps) => {
     ...material,
     list: material.list.map((item): Material => ({
       id: item.id,
-      name: item.fileName,
+      name: item.name,
       format: item.fileFormat,
       url: item.fileUrl,
       size: Number(item.fileSize),