![](/assets/images/project_default_logo.png)
--- client/views/pages/main/Chapter/Chapter3_1.vue
+++ client/views/pages/main/Chapter/Chapter3_1.vue
... | ... | @@ -127,7 +127,7 @@ |
127 | 127 |
}, |
128 | 128 |
data: this.$store.getters.getAllAnswers, |
129 | 129 |
}) |
130 |
- .then(function (res) { |
|
130 |
+ .then((res) => { |
|
131 | 131 |
console.log("problem - response : ", res.data); |
132 | 132 |
this.goToPage('Chapter4') |
133 | 133 |
}) |
--- client/views/pages/main/Chapter/Chapter4.vue
+++ client/views/pages/main/Chapter/Chapter4.vue
... | ... | @@ -97,7 +97,7 @@ |
97 | 97 |
showButton4: false, |
98 | 98 |
|
99 | 99 |
// 단원 평가 아이디, 추후 세션으로 받게 변경 |
100 |
- evalId: "EVAL_000000000000004", |
|
100 |
+ evalId: "", |
|
101 | 101 |
|
102 | 102 |
dataList: [], |
103 | 103 |
|
... | ... | @@ -214,6 +214,7 @@ |
214 | 214 |
created() { |
215 | 215 |
console.log('Problem List :', this.getAllProblems); |
216 | 216 |
this.dataList = this.getAllProblems; |
217 |
+ this.evalId = this.$route.query.eval_id; |
|
217 | 218 |
|
218 | 219 |
}, |
219 | 220 |
components: {}, |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?