
--- client/views/pages/main/MyPlan.vue
+++ client/views/pages/main/MyPlan.vue
... | ... | @@ -50,7 +50,7 @@ |
50 | 50 |
<div class="wrap mt30"> |
51 | 51 |
<p class="title1 mb20">AI 맞춤형 학습 코스는 어떨까요?</p> |
52 | 52 |
<div class="imgGroup flex justify-between"> |
53 |
- <div class="text-lf aiClick" v-for="(ai_learning, index) in aiLearningList" :key="index" @click="goToPage('Dashboard', aiLearningList[index].unit_id)"> |
|
53 |
+ <div class="text-lf aiClick" v-for="(ai_learning, index) in aiLearningList" :key="index" @click="goToPage2('AIDashboard', aiLearningList[index].unit_id)"> |
|
54 | 54 |
<img src="../../../resources/img/img215_22s.png" alt="" /> |
55 | 55 |
<p class="title2 mt10">추천 학습 단원</p> |
56 | 56 |
</div> |
... | ... | @@ -168,8 +168,11 @@ |
168 | 168 |
alert("학습 계획을 업데이트하는 중 오류가 발생했습니다."); |
169 | 169 |
}); |
170 | 170 |
}, |
171 |
- goToPage2(page) { |
|
172 |
- this.$router.push({ name: page }); |
|
171 |
+ goToPage2(page, unit_id) { |
|
172 |
+ this.$router.push({ name: page, query: { |
|
173 |
+ unit_id: unit_id, |
|
174 |
+ }, |
|
175 |
+ }); |
|
173 | 176 |
}, |
174 | 177 |
showConfirm(type) { |
175 | 178 |
let message = ""; |
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?