From 18f7edd511af7f1089420d517ca0af42506aa28c Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Sat, 6 Jul 2019 14:06:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=81=E6=9C=89=E9=97=AE=E5=8D=B7=E7=9A=84lo?= =?UTF-8?q?ck=E7=9A=84tip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/courses/poll/PollListItem.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/react/src/modules/courses/poll/PollListItem.js b/public/react/src/modules/courses/poll/PollListItem.js index 16770ce43..8e6198eae 100644 --- a/public/react/src/modules/courses/poll/PollListItem.js +++ b/public/react/src/modules/courses/poll/PollListItem.js @@ -21,6 +21,7 @@ class PollListItem extends Component{ const IsAdmin =this.props.isAdmin(); const isStudent = this.props.isStudent(); + const isNotMember = this.props.isNotMember(); let t= item.end_time ? moment(item.end_time) - moment() : 0; return( @@ -42,7 +43,7 @@ class PollListItem extends Component{ {item.polls_name} } { - item.lock_status === 0 ? :"" + item.lock_status === 0 ? :"" } {