Commit 7beb1174 authored by Tt's avatar Tt

增加录音数据

parent 3b8bf5a6
...@@ -458,6 +458,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -458,6 +458,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}); //结束录音 }); //结束录音
} }
async recrodEnd(data) { async recrodEnd(data) {
pg.hw.addRecord(data)
this.voiceTouchForbid = false; this.voiceTouchForbid = false;
this.recordAudio = data.audioUrl; this.recordAudio = data.audioUrl;
this.recordAudioWord = data.text; this.recordAudioWord = data.text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment