diff --git a/public/react/src/modules/courses/poll/PollDetailIndex.js b/public/react/src/modules/courses/poll/PollDetailIndex.js index 184e95333..38cc3796e 100644 --- a/public/react/src/modules/courses/poll/PollDetailIndex.js +++ b/public/react/src/modules/courses/poll/PollDetailIndex.js @@ -213,7 +213,7 @@ class PollDetailIndex extends Component{ user_permission && user_permission.poll_publish_count>0 ?
  • - { user_permission && user_permission.current_status ==0 ? "继续答题" : user_permission.current_status == 1 ? - (polls_status===2?"":polls_status===3?"":polls_status===4?"":"查看答题") - : "开始答题" } + { user_permission && user_permission.current_status ==0 ? "继续答题" : + user_permission.current_status == 1 ? + (polls_status===1?"":"查看答题") + :user_permission.current_status == 2 ?(polls_status===3?"":polls_status===4?"":"开始答题"):"" + } :"" } @@ -266,4 +268,4 @@ class PollDetailIndex extends Component{ ) } } -export default PollDetailIndex \ No newline at end of file +export default PollDetailIndex