From eef77b214f977e4968c3dfc0891fd493ed9f8843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Thu, 18 Jul 2019 11:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/shixunHomework/Listofworks.js | 2 +- public/react/src/modules/user/LoginRegisterComponent.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworks.js b/public/react/src/modules/courses/shixunHomework/Listofworks.js index 7bdb731e0..466ac0bd9 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworks.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworks.js @@ -1512,7 +1512,7 @@ class Listofworks extends Component { {teacherdata&&teacherdata.publish_immediately===false&&computeTimetype===true?
计算成绩
: -
+
{teacherdata&&teacherdata.homework_status[0]=== "未发布"? "":
计算成绩 diff --git a/public/react/src/modules/user/LoginRegisterComponent.js b/public/react/src/modules/user/LoginRegisterComponent.js index 707daf1ea..9e2fa6372 100644 --- a/public/react/src/modules/user/LoginRegisterComponent.js +++ b/public/react/src/modules/user/LoginRegisterComponent.js @@ -36,7 +36,7 @@ class LoginRegisterComponent extends Component { activeKey: 0, classpass: "text", // 登录 - passopens: passopen, + passopens: passoff, seconds: 35, discodeBtn: false, clearInterval: false, @@ -66,7 +66,7 @@ class LoginRegisterComponent extends Component { activeKey: '1', classpass: "text", // 登录 - passopens: passopen, + passopens: passoff, seconds: 35, discodeBtn: false, clearInterval: false, @@ -355,13 +355,13 @@ class LoginRegisterComponent extends Component { console.log("显示于隐藏"); if (this.state.classpassbool === true) { this.setState({ - passopens: passopen, + passopens:passoff , classpass: "text", classpassbool: false, }) } else { this.setState({ - passopens: passoff , + passopens: passopen , classpass: "password", classpassbool: true, })