提交 fa4ba943 编写于 作者: Q qiang

fix: 修复 chooseVideo 未启用压缩时无回调的问题

上级 abdfe863
......@@ -34,7 +34,7 @@ export function chooseVideo ({
}, () => {
resolve(tempFilePath)
})
}) : Promise.resolve()
}) : Promise.resolve(tempFilePath)
if (compressed) {
plus.nativeUI.showWaiting()
}
......@@ -55,7 +55,7 @@ export function chooseVideo ({
result.height = videoInfo.height
invoke(callbackId, result)
},
errorCallback
fail: errorCallback
})
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册