diff --git a/src/core/apis/file.ts b/src/core/apis/file.ts index b9f52d1b..857cf139 100644 --- a/src/core/apis/file.ts +++ b/src/core/apis/file.ts @@ -109,8 +109,8 @@ export class NTQQFileApi { fileElement: { fileName: fileName || _fileName, folderId: folderId, - 'filePath': path!, - 'fileSize': (fileSize).toString(), + filePath: path, + fileSize: (fileSize).toString(), }, }; }