Commit 7e1104e5 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

l

parent ced5ccc3
...@@ -63,8 +63,9 @@ function AdminQuiz(props) { ...@@ -63,8 +63,9 @@ function AdminQuiz(props) {
alert('정답이 입력되지 않았습니다.') alert('정답이 입력되지 않았습니다.')
} }
else { else {
console.log(QnAadmin) // console.log(QnAadmin)
QnAadmin['Choose']=Object.values(savechoose) QnAadmin['Choose']=Object.values(savechoose)
QnAadmin['N'] = String(props.QuizNum)
QnAadmins.push(QnAadmin) QnAadmins.push(QnAadmin)
QnAadmin = {} QnAadmin = {}
localStorage.setItem('QnA', JSON.stringify(QnAadmins)) localStorage.setItem('QnA', JSON.stringify(QnAadmins))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment