11wqe1 1 month ago
parent
commit
a13a93e70f
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) {
     async aiConfirm(msg,msg2,msg3) {
       let sub = []
       let sub = []
+      let _this = this
+
       if (this.courseTypeId.length) {
       if (this.courseTypeId.length) {
         for (var i = 0; i < this.courseTypeId.length; i++) {
         for (var i = 0; i < this.courseTypeId.length; i++) {
           let _sid = this.courseTypeId[i]
           let _sid = this.courseTypeId[i]
@@ -18636,7 +18638,6 @@ ${(this.templateid == "4480d65a-1e48-11ef-bee5-005056b86db5" || this.templateid
           }
           }
 
 
           let ij = 0;
           let ij = 0;
-          let _this = this
           function processNext() {
           function processNext() {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
               let _task = _this.unitJson[0].chapterInfo[0].taskJson[ij]
               let _task = _this.unitJson[0].chapterInfo[0].taskJson[ij]
@@ -18757,7 +18758,6 @@ ${msg3}
           }
           }
           this.$forceUpdate();
           this.$forceUpdate();
           let ij = 0;
           let ij = 0;
-          let _this = this
           function processNext() {
           function processNext() {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
             if (ij < _this.unitJson[0].chapterInfo[0].taskJson.length) {
               let _task = _this.unitJson[0].chapterInfo[0].taskJson[ij]
               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"){
       } else if (this.aitype == "aiTeacher2"){
         this.isOutline2 = true
         this.isOutline2 = true
-        let _this = this
         setTimeout(()=>{
         setTimeout(()=>{
           for (var i = 0; i < _this.unitJson[0].chapterInfo[0].taskJson.length; i++) {
           for (var i = 0; i < _this.unitJson[0].chapterInfo[0].taskJson.length; i++) {
             const _tindex = 'task-' + i;
             const _tindex = 'task-' + i;