Commit 739d6661 authored by 李帅's avatar 李帅

+1

parent 03d51a47
/* /*
* @Author: ls * @Author: ls
* @Date: 2022-05-15 18:22:18 * @Date: 2022-05-15 18:22:18
* @LastEditTime: 2022-06-13 12:46:03 * @LastEditTime: 2022-06-13 13:02:23
* @LastEditors: ls * @LastEditors: ls
* @Description: * @Description:
* @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts * @FilePath: \ls_gramophone\assets\ls_gramophone\scene\ls_gramophone.ts
...@@ -300,8 +300,6 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -300,8 +300,6 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
} }
this.resetRecord();
if (res && res.audioUrl) { if (res && res.audioUrl) {
if (idx !== -1) { if (idx !== -1) {
this._records[idx] = res.audioUrl; this._records[idx] = res.audioUrl;
...@@ -316,9 +314,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -316,9 +314,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
// 模拟测试 // 模拟测试
// this._records[idx] = 'http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3'; // this._records[idx] = 'http://staging-teach.cdn.ireadabc.com/92ddbc65e9af775f7a8450a5bef1a732.mp3';
}
this.resetRecord(); this.resetRecord();
}
}); });
} }
......
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