|
@@ -267,10 +267,11 @@ export default defineComponent({
|
|
const setViewColor = () => {
|
|
const setViewColor = () => {
|
|
clearViewColor();
|
|
clearViewColor();
|
|
const notes = filterNotes();
|
|
const notes = filterNotes();
|
|
|
|
+ console.log('评测报告111')
|
|
// console.log(1111,notes)
|
|
// console.log(1111,notes)
|
|
for (const note of notes) {
|
|
for (const note of notes) {
|
|
const idx = note.musicalNotesIndex !== undefined ? note.musicalNotesIndex : note.index;
|
|
const idx = note.musicalNotesIndex !== undefined ? note.musicalNotesIndex : note.index;
|
|
- const active = detailData.isNewReport ? allNote.value.find((item: any) => item.i === idx) : allNote.value[idx];
|
|
|
|
|
|
+ const active = detailData.isNewReport ? notes[0]?.measureRenderIndex != 0 ? allNote.value[idx] : allNote.value.find((item: any) => item.i === idx) : allNote.value[idx];
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
if (!active?.id) return;
|
|
if (!active?.id) return;
|
|
if (active?.id && useedid.value.includes(active?.id)) {
|
|
if (active?.id && useedid.value.includes(active?.id)) {
|