|
@@ -868,12 +868,12 @@ export const setSection = (start: number, end: number, userSpeed?: number) => {
|
|
|
const endNotes = state.times.filter(
|
|
|
(n: any) => n.noteElement.sourceMeasure.MeasureNumberXML == end
|
|
|
)
|
|
|
-
|
|
|
+ state.userChooseEndIndex = end
|
|
|
const lastEndId = endNotes[endNotes.length - 1].noteId
|
|
|
let lastEndNotes = endNotes.filter((n: any) => n.noteId === lastEndId)
|
|
|
// 是否符合重播规则
|
|
|
const canRepeatInfo = verifyCanRepeat(start, end)
|
|
|
- console.log(22222,canRepeatInfo)
|
|
|
+ console.log('能否重播',canRepeatInfo)
|
|
|
const isCanRepeat = canRepeatInfo.canRepeat
|
|
|
// 如果符合重播规则,但是lastEndNotes长度为1,则需要向前找,直到找到lastEndNotes长度为2
|
|
|
let currentEndNum: number = end
|