人生啊人生 3 月之前
父节点
当前提交
ec832d5e5b
共有 1 个文件被更改,包括 12 次插入12 次删除
  1. 12 12
      user_web/src/view/student/trainChapter/trainChapter.vue

+ 12 - 12
user_web/src/view/student/trainChapter/trainChapter.vue

@@ -330,20 +330,20 @@ onMounted(() => {
 
         // 根据学生id任务获取缺陷数据
         studentTaskOptionPipDefectListByStudentId(studentTaskId)
-            .then((studentTaskOptionPipDefectListByStudentIdRes) => {
-                studentTaskIdList.value = studentTaskOptionPipDefectListByStudentIdRes?.data?.data;
+        .then((studentTaskOptionPipDefectListByStudentIdRes) => {
+            studentTaskIdList.value = studentTaskOptionPipDefectListByStudentIdRes?.data?.data;
 
-                courseChapter3dViewBool.value = true;
+            courseChapter3dViewBool.value = true;
 
-                // console.log(
-                //     "根据学生id任务获取缺陷数据",
-                //     studentTaskIdList.value,
-                //     studentTaskId
-                // );
-            })
-            .catch((error) => {
-                courseChapter3dViewBool.value = true;
-            });
+            // console.log(
+            //     "根据学生id任务获取缺陷数据",
+            //     studentTaskIdList.value,
+            //     studentTaskId
+            // );
+        })
+        .catch((error) => {
+            courseChapter3dViewBool.value = true;
+        });
     });
 });
 onUnmounted(() => {