Commit fd9055cd authored by yu's avatar yu

录音闪退bug

parent 64606ce1
...@@ -765,8 +765,11 @@ cc.Class({ ...@@ -765,8 +765,11 @@ cc.Class({
pg.view.visible(bg_tryagain, false); pg.view.visible(bg_tryagain, false);
GameManager.getIns().setState(2); GameManager.getIns().setState(2);
this.initLayout() this.initLayout()
let str = "";
window.courseware && window.courseware.startTest(this._stageData.word); //开始录音 this._stageData.word.forEach((t) => {
str += t.card;
})
window.courseware && window.courseware.startTest(str); //开始录音
this._timeoutIds.push(setTimeout(() => { this._timeoutIds.push(setTimeout(() => {
if (!window.courseware) return this.recrodEnd({ if (!window.courseware) return this.recrodEnd({
"dtLastResponse": "2021-09-17 13:36:26:109", "dtLastResponse": "2021-09-17 13:36:26:109",
......
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