Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
07854278
Commit
07854278
authored
Apr 04, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
访客录入考题bug
parent
4eb5096c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
visitorQuestion.vue
...iews/educationPlanExam/visitorProgram/visitorQuestion.vue
+4
-2
No files found.
danger-manage-web/src/views/educationPlanExam/visitorProgram/visitorQuestion.vue
View file @
07854278
...
...
@@ -328,7 +328,8 @@ export default {
this
.
$refs
.
visitorAdd
.
form
.
questions
);
// data.answer = this.$refs.visitorAdd.answerNum;
data
.
answer
=
JSON
.
stringify
(
this
.
$refs
.
visitorAdd
.
answerNum
);
data
.
answer
=
Array
.
isArray
(
this
.
$refs
.
visitorAdd
.
answerNum
)?
JSON
.
stringify
(
this
.
$refs
.
visitorAdd
.
answerNum
):
this
.
$refs
.
visitorAdd
.
answerNum
;
data
.
topicType
=
this
.
$refs
.
visitorAdd
.
form
.
topicType
;
// console.log()
...
...
@@ -381,7 +382,8 @@ export default {
questions
:
JSON
.
parse
(
data
.
topicOption
),
};
console
.
log
(
data
);
this
.
$refs
.
visitorAdd
.
answerNum
=
data
.
answer
;
this
.
$refs
.
visitorAdd
.
answerNum
=
JSON
.
parse
(
data
.
answer
);
console
.
log
(
this
.
$refs
.
visitorAdd
.
answerNum
)
});
this
.
$nextTick
(()
=>
{
this
.
$refs
.
visitorAdd
.
questionNextNum
=
index
;
...
...
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