|
@@ -184,7 +184,7 @@ export default defineComponent({
|
|
|
await getMusicDetail(id);
|
|
|
} catch (err: any) {
|
|
|
console.error(err);
|
|
|
- const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || 0};`;
|
|
|
+ const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || state.partIndex || 0};`;
|
|
|
uploadErrorLog(contentError)
|
|
|
state.isLoading = false;
|
|
|
isEmptyMusicShow.value = true
|
|
@@ -351,7 +351,7 @@ export default defineComponent({
|
|
|
handleRendered(osmd)
|
|
|
}catch(err:any){
|
|
|
console.log(err, "err")
|
|
|
- const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || 0};`;
|
|
|
+ const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || state.partIndex || 0};`;
|
|
|
uploadErrorLog(contentError)
|
|
|
// 需要向外面(iframe)派发计时器数据的时候触发
|
|
|
if(query.isbeatTimes){
|