From 84bbb2b78909a4266655275c22a0ea01f91c9bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Tue, 31 Dec 2019 16:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shixunHomework/Listofworksstudentone.js | 26 ++----------------- 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 438df7b05..975088862 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -1673,35 +1673,13 @@ class Listofworksstudentone extends Component { } componentDidCatch(error, info) { - // console.log("-----------------------------905错误信息"); - // console.log(error); - // console.log(info); + } - // componentWillReceiveProps(nextProps) { - // console.log("+++++++++916"); - // console.log(nextProps); - // console.log(this.props) - // // console.log(this.props.isAdmin()); - // if (nextProps.code_review != this.props.code_review) { - // if (nextProps.code_review !== undefined) { - // console.log("diaoyonglwangluo1"); - // if(this.props.isAdmin() === true){ - // this.tearchar(); - // }else{ - // this.student(); - // } - // } - // } - // - // } + componentDidMount() { - // console.log("componentDidMount "); - // console.log("调用子组件 "); - // console.log(this.props); - // console.log(this.props.isAdmin()) this.student(); }