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, })