Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
online-quiz-react
Commits
7e1104e5
Commit
7e1104e5
authored
Aug 13, 2020
by
Jiwon Yoon
Browse files
l
parent
ced5ccc3
Changes
1
Show whitespace changes
Inline
Side-by-side
src/AdminQuiz.js
View file @
7e1104e5
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment