From 8d8ee7351010a8c47aac641ae4ecf9631047ab3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 20 Jul 2019 22:28:10 +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/shixunHomework/Listofworksstudentone.js | 6 +++--- .../courses/shixunHomework/ShixunHomeworkPage.js | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js index 4ddc71bd0..c23b9b674 100644 --- a/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js +++ b/public/react/src/modules/courses/shixunHomework/Listofworksstudentone.js @@ -932,7 +932,7 @@ class Listofworksstudentone extends Component { componentDidMount() { console.log("componentDidMount"); - console.log(this.props.isAdmin()); + // console.log(this.props.isAdmin()); if(this.props.isAdmin() === true){ this.tearchar(); // console.log("909"); @@ -1109,7 +1109,7 @@ class Listofworksstudentone extends Component { }) } else { - console.log(teacherdata) + // console.log(teacherdata) if (teacherdata.id !== undefined || teacherdata.id !== null || teacherdata.id !== "") { // console.log("seacthdata设置数据1") // console.log(this.state.teacherdata ) @@ -1611,7 +1611,7 @@ class Listofworksstudentone extends Component { let columns = this.state.columns; var columns2=[]; if (teacherdata !== undefined) { - console.log("1588"); + // console.log("1588"); for (var i = 0; i < student_works.length; i++) { var timedata = moment(student_works[i].update_time).format('YYYY-MM-DD HH:mm'); datalist.push({ diff --git a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js index fc8fba188..1dd814856 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunHomeworkPage.js @@ -54,9 +54,9 @@ class ShixunHomeworkPage extends Component { } Getdataback = (jobsettingsdata, teacherdata) => { - console.log("56"); - console.log(jobsettingsdata); - console.log(teacherdata); + // console.log("56"); + // console.log(jobsettingsdata); + // console.log(teacherdata); this.setState({ jobsettingsdata: jobsettingsdata, @@ -72,13 +72,13 @@ class ShixunHomeworkPage extends Component { // let sum = [] // sum.push(type[1]) // console.log("componentDidMountcomponentDidMount"); - console.log(type); + // console.log(type); this.setState({ tab: type[1], }) let querys = this.props.location.pathname; const types = querys.split('/'); - console.log(types); + // console.log(types); this.setState({ shixuntypes: types[3] })