|
@@ -181,7 +181,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"] || state.partIndex || 0};`;
|
|
|
+ const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || state.partIndex || 0};partName: ${decodeURIComponent(query["part-name"] || '') || ''};`;
|
|
|
uploadErrorLog(contentError)
|
|
|
state.isLoading = false;
|
|
|
isEmptyMusicShow.value = true
|
|
@@ -367,7 +367,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"] || state.partIndex || 0};`;
|
|
|
+ const contentError = `reason: ${err?.message || ''};stack: ${err?.stack || ''};bizId: ${state.examSongId || query.id || ''};partIndex: ${query["part-index"] || state.partIndex || 0};partName: ${decodeURIComponent(query["part-name"] || '') || ''};`;
|
|
|
uploadErrorLog(contentError)
|
|
|
// 需要向外面(iframe)派发计时器数据的时候触发
|
|
|
if(query.isbeatTimes){
|