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

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

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