|
@@ -381,7 +381,7 @@ export async function changeCombineAudio (combineIndex: number){
|
|
|
return
|
|
|
}
|
|
|
state.loadingText = "音频资源加载中,请稍后…";
|
|
|
- state.isLoading = true;
|
|
|
+ //state.isLoading = true;
|
|
|
const musicUrl = audioData.combineMusics[combineIndex]
|
|
|
// 有就拿缓存,没有就加载
|
|
|
const cacheMusicIndex = audioData.combineMusicEles.findIndex(ele => {
|
|
@@ -641,8 +641,9 @@ export default defineComponent({
|
|
|
changeMingSongType()
|
|
|
|
|
|
state.audioDone = true;
|
|
|
- state.isLoading = false
|
|
|
+ // state.isLoading = false
|
|
|
console.timeEnd("音频加载时间123")
|
|
|
+ console.timeLog('加载过程','音频加载完成')
|
|
|
console.log("音频数据:",audioData)
|
|
|
api_playProgress(progress);
|
|
|
} else {
|
|
@@ -655,7 +656,7 @@ export default defineComponent({
|
|
|
// 监听midi播放结束
|
|
|
api_cloudplayed(midiPlayEnd);
|
|
|
}
|
|
|
- console.timeEnd('开始加载')
|
|
|
+ console.timeEnd('加载过程')
|
|
|
});
|
|
|
onUnmounted(() => {
|
|
|
api_remove_cloudplayed(midiPlayEnd);
|