diff --git a/frontend/src/pages/DataManagement/Detail/components/ImportConfiguration.tsx b/frontend/src/pages/DataManagement/Detail/components/ImportConfiguration.tsx index aa6607b..c41cc99 100644 --- a/frontend/src/pages/DataManagement/Detail/components/ImportConfiguration.tsx +++ b/frontend/src/pages/DataManagement/Detail/components/ImportConfiguration.tsx @@ -90,10 +90,10 @@ export default function ImportConfiguration({ const originFile = (file as any).originFileObj || file; const slices = sliceFile(originFile); return { - originFile: file, + originFile: originFile, // 传入真正的 File/Blob 对象 slices, name: file.name, - size: (file as any).size || originFile.size || 0, + size: originFile.size || 0, }; });