diff --git a/public/react/src/modules/courses/busyWork/CommonWorkItem.js b/public/react/src/modules/courses/busyWork/CommonWorkItem.js index 6c3e7997a..6521d2add 100644 --- a/public/react/src/modules/courses/busyWork/CommonWorkItem.js +++ b/public/react/src/modules/courses/busyWork/CommonWorkItem.js @@ -139,9 +139,10 @@ class CommonWorkItem extends Component{ }
+ {/* 放开点击进入,进入后弹框,canNotLink ? () => {} : */} {} : () => this.onItemClick(item)} + onClick={() => this.onItemClick(item)} >{item.name} {/* 只有非课堂成员且作业是私有的情况下才会为true */} diff --git a/public/react/src/modules/courses/poll/PollListItem.js b/public/react/src/modules/courses/poll/PollListItem.js index 8e6198eae..898b296f0 100644 --- a/public/react/src/modules/courses/poll/PollListItem.js +++ b/public/react/src/modules/courses/poll/PollListItem.js @@ -35,15 +35,13 @@ class PollListItem extends Component{ }
+ {item.polls_name}
{
- //非课堂成员(未登录的用户)且课堂未公开
- courseType && courseType.user_permission == 0 && item.lock_status == 0 ?
- {item.polls_name}
- :
- {item.polls_name}
- }
- {
- item.lock_status === 0 ?