--- client/views/pages/main/AIDashboard.vue
+++ client/views/pages/main/AIDashboard.vue
... | ... | @@ -260,7 +260,7 @@ |
260 | 260 |
"Content-Type": "application/json; charset=UTF-8", |
261 | 261 |
}, |
262 | 262 |
data: { |
263 |
- unitId: "UNIT_000000000000001", |
|
263 |
+ unitId: "UNIT_000000000000001", // 수정해야함 |
|
264 | 264 |
sclsId: "1" |
265 | 265 |
} |
266 | 266 |
}) |
--- client/views/pages/main/Dashboard.vue
+++ client/views/pages/main/Dashboard.vue
... | ... | @@ -300,7 +300,7 @@ |
300 | 300 |
console.error("book_id 또는 unit_id가 설정되지 않았습니다."); |
301 | 301 |
return; |
302 | 302 |
} |
303 |
- this.fetchImage(); |
|
303 |
+ this.fetchImage(unit_id); |
|
304 | 304 |
this.fetchSchedule(unit_id, book_id); |
305 | 305 |
this.fetchRoadmapData(unit_id, book_id); |
306 | 306 |
this.fetchRabbit(); |
... | ... | @@ -332,7 +332,7 @@ |
332 | 332 |
return null; |
333 | 333 |
} |
334 | 334 |
}, |
335 |
- fetchImage() { |
|
335 |
+ fetchImage(unit_id) { |
|
336 | 336 |
axios({ |
337 | 337 |
url: "/photo/photoUnitList.json", |
338 | 338 |
method: "post", |
... | ... | @@ -340,7 +340,7 @@ |
340 | 340 |
"Content-Type": "application/json; charset=UTF-8", |
341 | 341 |
}, |
342 | 342 |
data: { |
343 |
- unitId: "UNIT_000000000000001", |
|
343 |
+ unitId: unit_id, |
|
344 | 344 |
sclsId: "1" |
345 | 345 |
} |
346 | 346 |
}) |
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?