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

+1

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