From 37fc149a4df3be12d19b79ec9b6a8df5a75f2daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 17 Jul 2019 15:20:55 +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 --- .../courses/exercise/Studentshavecompletedthelist.js | 2 +- public/react/src/modules/user/LoginRegisterComponent.js | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js index 20a307ac6..5cd59f704 100644 --- a/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js +++ b/public/react/src/modules/courses/exercise/Studentshavecompletedthelist.js @@ -2675,7 +2675,7 @@ class Studentshavecompletedthelist extends Component { {data === undefined ? "" : { - console.log(result); if(result){ this.setState({ logins: "", @@ -356,13 +355,13 @@ class LoginRegisterComponent extends Component { console.log("显示于隐藏"); if (this.state.classpassbool === true) { this.setState({ - passopens: passoff, + passopens: passopen, classpass: "text", classpassbool: false, }) } else { this.setState({ - passopens: passopen, + passopens: passoff , classpass: "password", classpassbool: true, })