|
@@ -45,7 +45,7 @@ export default defineComponent({
|
|
|
} catch {
|
|
|
//
|
|
|
}
|
|
|
- const list = this.subjectList.map((n: any) => n.subjects).flat()
|
|
|
+ const list = this.subjectList.map((n: any) => n.subjects).flat().sort((a,b) => a.id - b.id)
|
|
|
const userSubjectId = this.params.lessonSubject
|
|
|
let isRest = true
|
|
|
for(let i = 0; i < list.length; i++){
|