|
@@ -623,6 +623,13 @@ export default {
|
|
|
if (this.query.sectionType == 1 && !!this.query.rebuild == this.rebuild) {
|
|
|
this.toPlay(sectionItem);
|
|
|
}
|
|
|
+ //生成唯一ID定位Start
|
|
|
+ document.getElementsByClassName('lear-state')[0].setAttribute('id','onlyGif')
|
|
|
+ var a = document.createElement('a')
|
|
|
+ a.setAttribute('href',`#onlyGif`)
|
|
|
+ document.body.appendChild(a)
|
|
|
+ a.click()
|
|
|
+ //生成唯一ID定位End
|
|
|
},
|
|
|
activeFunc(courseId, index) {
|
|
|
let { courseId: nowCourseId, courseList } = this.treeList[index];
|