jichoi / lms_front star
박민혁 박민혁 2024-08-29
240829 박민혁 오류 변경
@ad3c30d0318ba109720e68da076c61739196efb0
client/views/pages/main/Chapter/Chapter3_1.vue
--- client/views/pages/main/Chapter/Chapter3_1.vue
+++ client/views/pages/main/Chapter/Chapter3_1.vue
@@ -127,7 +127,7 @@
           },
           data: this.$store.getters.getAllAnswers,
         })
-          .then(function (res) {
+          .then((res) => {
             console.log("problem - response : ", res.data);
             this.goToPage('Chapter4')
           })
client/views/pages/main/Chapter/Chapter4.vue
--- client/views/pages/main/Chapter/Chapter4.vue
+++ client/views/pages/main/Chapter/Chapter4.vue
@@ -97,7 +97,7 @@
             showButton4: false,
 
             // 단원 평가 아이디, 추후 세션으로 받게 변경
-            evalId: "EVAL_000000000000004",
+            evalId: "",
 
             dataList: [],
 
@@ -214,6 +214,7 @@
     created() {
         console.log('Problem List :', this.getAllProblems);
         this.dataList = this.getAllProblems;
+        this.evalId = this.$route.query.eval_id;
 
     },
     components: {},
Add a comment
List