|
@@ -1093,6 +1093,10 @@ const formateSelectMearure = (_list: any[]): any[] => {
|
|
|
startItemINdex = state.sectionFirst ? state.sectionFirst.i : startItemINdex;
|
|
|
}
|
|
|
skipNotePlay(startItemINdex, startItemINdex === 0);
|
|
|
+ const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
|
|
|
+ if (currentItem.measureSpeed && query.workRecord === undefined) {
|
|
|
+ handleSetSpeed(currentItem.measureSpeed);
|
|
|
+ }
|
|
|
return list;
|
|
|
};
|
|
|
|
|
@@ -1163,7 +1167,7 @@ export const setSection = (start: number, end: number, userSpeed?: number) => {
|
|
|
// 设置小节
|
|
|
hanldeDirectSelection([startNote, endNote]);
|
|
|
|
|
|
- //设置速度
|
|
|
+ // 评测作业,练习作业的场景,需要用老师布置的速度,设置播放速度
|
|
|
if (userSpeed) {
|
|
|
handleSetSpeed(userSpeed);
|
|
|
}
|