Commit 71cf431c authored by linwenqing's avatar linwenqing

fix:提交题目答案错误

parent 3b7f1e29
...@@ -454,13 +454,13 @@ export default { ...@@ -454,13 +454,13 @@ export default {
if (this.currentItem.question.answerType == 2) { if (this.currentItem.question.answerType == 2) {
//多选 //多选
if (this.userAnswerIds.length == 0) { if (this.userAnswerIds.length == 0) {
this.userAnswerIds = item.id; this.userAnswerIds = item.id + ',';
} else { } else {
this.userAnswerIds = this.userAnswerIds + "," + item.id; this.userAnswerIds = this.userAnswerIds + item.id + ",";
} }
} else { } else {
//单选 //单选
this.userAnswerIds = item.id; this.userAnswerIds = item.id + ',';
} }
} }
}); });
......
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