|
@@ -2061,14 +2061,14 @@ export default {
|
|
|
},
|
|
|
]),
|
|
|
(this.radio = []);
|
|
|
- setTimeout(() => {
|
|
|
- let a = document.getElementById(i);
|
|
|
- if (a.offsetTop - 110 == 0) {
|
|
|
- window.scrollTo(0, 0);
|
|
|
- } else {
|
|
|
- window.scrollTo(0, a.offsetTop);
|
|
|
- }
|
|
|
- }, 0);
|
|
|
+ // setTimeout(() => {
|
|
|
+ // let a = document.getElementById(i);
|
|
|
+ // if (a.offsetTop - 110 == 0) {
|
|
|
+ // window.scrollTo(0, 0);
|
|
|
+ // } else {
|
|
|
+ // window.scrollTo(0, a.offsetTop);
|
|
|
+ // }
|
|
|
+ // }, 0);
|
|
|
|
|
|
this.getHomeWork();
|
|
|
this.getCourseDetail();
|
|
@@ -2218,7 +2218,7 @@ export default {
|
|
|
w[m].id = l + "-" + m;
|
|
|
}
|
|
|
}
|
|
|
- if (this.vedio[this.taskCount][0].url == "") {
|
|
|
+ if (!this.vedio[this.taskCount][0] || this.vedio[this.taskCount][0].url == "") {
|
|
|
if (
|
|
|
this.chapInfoList[this.courseType].chapterInfo[0].taskJson[
|
|
|
this.taskCount
|