提交 624134c5 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 3e3a5712
...@@ -83,6 +83,9 @@ export default { ...@@ -83,6 +83,9 @@ export default {
const questionType = parseInt(this.question.question_type) const questionType = parseInt(this.question.question_type)
const { answer_count: answerCount = 0 } = this.data const { answer_count: answerCount = 0 } = this.data
if ([5, 7, 8].includes(questionType)) { if ([5, 7, 8].includes(questionType)) {
if (answerCount >= 2) {
return 2
}
return answerCount || 3 return answerCount || 3
} else { } else {
return questionType return questionType
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论