diff --git a/packages/uni-app-plus/src/service/api/media/compressVideo.ts b/packages/uni-app-plus/src/service/api/media/compressVideo.ts index 100af8ec874a870f30d4685c6a355ab488d45034..17dd063cdcc97bc68b76cc83c18855649a8f38e9 100644 --- a/packages/uni-app-plus/src/service/api/media/compressVideo.ts +++ b/packages/uni-app-plus/src/service/api/media/compressVideo.ts @@ -19,9 +19,10 @@ export const compressVideo = defineAsyncApi( extend({}, options, { filename, }), - () => { + (videoInfo) => { resolve({ tempFilePath: filename, + size: videoInfo.size, }) }, reject