woals
08-14
240814 권민수 객관식 문제 가져오는 기능 구현
@2c3021dc5014e58e45dc7495e59afd190f45bdc0
--- client/views/pages/main/PreviewNote.vue
+++ client/views/pages/main/PreviewNote.vue
... | ... | @@ -104,8 +104,8 @@ |
104 | 104 |
|
105 | 105 |
// 문제 유형에 따른 라우팅 메서드 |
106 | 106 |
handleProblemDetail(item) { |
107 |
- // sessionStorage.setItem("prblmId", JSON.stringify(item.prblmId)); |
|
108 |
- // console.log(item.prblmTypeId); |
|
107 |
+ // 세션 저장소에 문제 ID 저장 |
|
108 |
+ sessionStorage.setItem("prblmId", JSON.stringify(item.prblmId)); |
|
109 | 109 |
if (item.prblmTypeId === "11") { |
110 | 110 |
this.problemType = "Chapter3_9"; |
111 | 111 |
} else if (item.prblmTypeId === "12") { |
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?