提交 4f641298 编写于 作者: D DCloud_LXH

fix(app): getRecorderManager.start error question/144821

上级 40f7fad7
......@@ -37,7 +37,7 @@ const Recorder: Recorder = {
format = 'mp3',
frameSize,
// audioSource = 'auto',
}) {
} = {}) {
if (recording) {
return publishRecorderStateChange('start')
}
......@@ -140,7 +140,7 @@ class RecorderManager implements UniApp.RecorderManager {
Recorder.resume()
}
start(options: UniApp.RecorderManagerStartOptions) {
start(options: UniApp.RecorderManagerStartOptions = {}) {
Recorder.start(options)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册