提交 f1e72ae9 编写于 作者: Y yurj26

fix(app): uni.compressVideo size (question/162379)

上级 90e08111
...@@ -19,9 +19,10 @@ export const compressVideo = defineAsyncApi<API_TYPE_COMPRESS_VIDEO>( ...@@ -19,9 +19,10 @@ export const compressVideo = defineAsyncApi<API_TYPE_COMPRESS_VIDEO>(
extend({}, options, { extend({}, options, {
filename, filename,
}), }),
() => { (videoInfo) => {
resolve({ resolve({
tempFilePath: filename, tempFilePath: filename,
size: videoInfo.size,
}) })
}, },
reject reject
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册