From 89272eb612d6a741a66ec2b7a4abb8e0da2219c9 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Mon, 8 Jul 2019 08:51:51 +0800 Subject: [PATCH 1/3] array --- public/react/src/modules/login/LoginDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/react/src/modules/login/LoginDialog.js b/public/react/src/modules/login/LoginDialog.js index 36a9530b9..1275cf4a0 100644 --- a/public/react/src/modules/login/LoginDialog.js +++ b/public/react/src/modules/login/LoginDialog.js @@ -316,7 +316,7 @@ class LoginDialog extends Component { // // return Promise.reject(error); }); } - handleDialogClose() { + handleDialogClose = () => { if(this.props.match.path==="/"){ this.setState({ isRender: false From d19007149977e5d222755b139f86f3268cec88db Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 8 Jul 2019 09:02:15 +0800 Subject: [PATCH 2/3] =?UTF-8?q?issue+=E9=9C=80=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../react/src/modules/courses/poll/PollListItem.js | 14 ++++++-------- public/react/src/modules/login/Trialapplication.js | 3 --- public/react/src/modules/user/usersInfo/Infos.js | 2 +- 3 files changed, 7 insertions(+), 12 deletions(-) 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 ?
+ {/* 放开点击进入,进入后弹框,canNotLink ? () => {} : */} {} : () => this.onItemClick(item)} + onClick={() => this.onItemClick(item)} >{item.name} {/* 只有非课堂成员且作业是私有的情况下才会为true */}