From 95ad53667bcca14f804b30e2813ee42e800d4607 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Sat, 27 Jul 2019 10:44:01 +0800 Subject: [PATCH] && item.question.min_choices && item.question.max_choice --- public/react/src/modules/courses/poll/PollDetailTabSecond.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/poll/PollDetailTabSecond.js b/public/react/src/modules/courses/poll/PollDetailTabSecond.js index a01ffbe22..a6a2b6b62 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabSecond.js +++ b/public/react/src/modules/courses/poll/PollDetailTabSecond.js @@ -66,7 +66,7 @@ class PollDetailTabSecond extends Component{ {parseInt(page-1)*parseInt(limit)+(key+1)}、{map[item.question.question_type]} { item.question.is_necessary==1 ? 必答:"" } - { item.question.question_type == 2 ? + { item.question.question_type == 2 && item.question.min_choices && item.question.max_choice ? { item.question.min_choices == item.question.max_choices ? "可选"+item.question.max_choices+"项" :