diff --git a/lib/pages/section/bloc/section_bloc.dart b/lib/pages/section/bloc/section_bloc.dart index 707fde1..a68522d 100644 --- a/lib/pages/section/bloc/section_bloc.dart +++ b/lib/pages/section/bloc/section_bloc.dart @@ -215,12 +215,10 @@ class SectionBloc extends Bloc { .toList(); } + ///查找当前unit内当前环节的下一个环节 + ///sortOrder是unit内编号,不能跨unit全局按sortOrder查找,否则会命中前一个unit的同序号环节 CourseSectionEntity? _findNextVisibleCourseSection( CourseSectionEntity currentSection) { - if (!UserUtil.isAppReviewAccount()) { - return findCourseSectionBySort(currentSection.sortOrder + 1); - } - final currentUnitSections = _courseSectionDatasMap[currentSection.courseUnitId]; final nextSections = currentUnitSections