Browse Source

Merge branch 'beta' of https://git.cocorobo.cn/CocoRoboLabs/pbl-teacher-table into beta

SanHQin 1 month ago
parent
commit
df830bb91c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/components/pages/aiEasy/addCourse.vue

+ 2 - 3
src/components/pages/aiEasy/addCourse.vue

@@ -18416,6 +18416,8 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
     },
     async aiConfirm(msg,msg2,msg3) {
       let sub = []
+      let _this = this
+
       if (this.courseTypeId.length) {
         for (var i = 0; i < this.courseTypeId.length; i++) {
           let _sid = this.courseTypeId[i]
@@ -18636,7 +18638,6 @@ ${(this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid
           }
 
           let ij = 0;
-          let _this = this
           function processNext() {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
               let _task = _this.unitJson[0].chapterInfo[0].taskJson[ij]
@@ -18757,7 +18758,6 @@ ${msg3}
           }
           this.$forceUpdate();
           let ij = 0;
-          let _this = this
           function processNext() {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
               let _task = _this.unitJson[0].chapterInfo[0].taskJson[ij]
@@ -18924,7 +18924,6 @@ ${(this.templateid != "4480d65a-1e48-11ef-bee5-005056b86db5") ? '## 参考上下
         })
       } else if (this.aitype == "aiTeacher2"){
         this.isOutline2 = true
-        let _this = this
         setTimeout(()=>{
           for (var i = 0; i < _this.unitJson[0].chapterInfo[0].taskJson.length; i++) {
             const _tindex = 'task-' + i;