|
@@ -83,6 +83,7 @@ export default defineComponent({
|
|
|
headerHide: false,
|
|
|
musicalNotesPlayStats: [] as any[],
|
|
|
userMeasureScore: {} as any,
|
|
|
+ isSpecialReport: false, // 是否是特殊的评测记录(含有listent、play等曲子的评测记录,非选段状态下可能返回的评测数据不是从第1小节开始的,这种情况需要兼容处理)
|
|
|
});
|
|
|
const getAPPData = async () => {
|
|
|
const screenData = await isSpecialShapedScreen();
|
|
@@ -269,7 +270,10 @@ export default defineComponent({
|
|
|
// console.log(1111,notes)
|
|
|
for (const note of notes) {
|
|
|
const idx = note.musicalNotesIndex !== undefined ? note.musicalNotesIndex : note.index;
|
|
|
- const active = allNote.value[idx];
|
|
|
+ let active = allNote.value[idx];
|
|
|
+ if (detailData.isSpecialReport) {
|
|
|
+ active = allNote.value.find((item: any) => item.i === idx)
|
|
|
+ }
|
|
|
setTimeout(() => {
|
|
|
if (useedid.value.includes(active.id)) {
|
|
|
return;
|
|
@@ -412,6 +416,7 @@ export default defineComponent({
|
|
|
beams.forEach((item: any) => {
|
|
|
item.classList.add(styles.beam);
|
|
|
});
|
|
|
+ detailData.isSpecialReport = startMeasureNum > 0 && detailData.musicalNotesPlayStats?.[0]?.musicalNotesIndex != 0;
|
|
|
//setPathColor();
|
|
|
setViewColor();
|
|
|
// setMearureColor();
|