diff --git a/src/renderer/src/pages/notes/NotesPage.tsx b/src/renderer/src/pages/notes/NotesPage.tsx index 4f7efca1ef..f783da4664 100644 --- a/src/renderer/src/pages/notes/NotesPage.tsx +++ b/src/renderer/src/pages/notes/NotesPage.tsx @@ -653,9 +653,7 @@ const NotesPage: FC = () => { // 处理文件上传 const handleUploadFiles = useCallback( async ( - files: - | File[] - | Array<{ fullPath: string; isFile: boolean; isDirectory: boolean; systemPath: string }>, + files: File[] | Array<{ fullPath: string; isFile: boolean; isDirectory: boolean; systemPath: string }>, overrideTargetFolderPath?: string ) => { try {