|
@@ -625,15 +625,15 @@ export default {
|
|
|
if (courseId == nowCourseId) {
|
|
|
return;
|
|
|
}
|
|
|
- if (index) {
|
|
|
- let { stuAllNum, secAllNum } = this.treeList[index - 1];
|
|
|
- if (stuAllNum != secAllNum) {
|
|
|
- return this.$message({
|
|
|
- type: "warning",
|
|
|
- message: "需按课程顺序学习",
|
|
|
- });
|
|
|
- }
|
|
|
- }
|
|
|
+ // if (index) {
|
|
|
+ // let { stuAllNum, secAllNum } = this.treeList[index - 1];
|
|
|
+ // if (stuAllNum != secAllNum) {
|
|
|
+ // return this.$message({
|
|
|
+ // type: "warning",
|
|
|
+ // message: "需按课程顺序学习",
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // }
|
|
|
let course = this.courseList.find((e) => e.courseId == courseId);
|
|
|
if (course) {
|
|
|
course.courseList = courseList;
|