From 49bd250e86cf7e66a36656b56a0c5ecbf0360121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Fri, 19 Jul 2019 23:30:39 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8A=A0=E6=B3=A8?= =?UTF-8?q?=E9=87=8Adebugger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/courses/coursesPublic/AccessoryModal2.js | 2 +- .../src/modules/courses/coursesPublic/Associationmodel.js | 4 ++-- .../modules/courses/exercise/Exercisestatisticalresult.js | 2 +- .../courses/graduation/tasks/GraduationTasksSubmitedit.js | 2 +- .../courses/graduation/tasks/GraduationTasksSubmitnew.js | 6 +++--- .../modules/courses/graduation/tasks/GraduationTasksedit.js | 2 +- public/react/src/modules/courses/graduation/tasks/index.js | 4 ++-- .../src/modules/courses/poll/PollDetailTabForthRules.js | 2 +- public/react/src/modules/paths/PathDetail/DetailCards.js | 2 +- .../react/src/modules/tpm/challengesnew/TPMchallengesnew.js | 2 +- public/react/src/modules/tpm/newshixuns/Newshixuns.js | 4 ++-- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js b/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js index 9019fe7a1..6808ded8a 100644 --- a/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js +++ b/public/react/src/modules/courses/coursesPublic/AccessoryModal2.js @@ -119,7 +119,7 @@ class AccessoryModal2 extends Component{ } } Saves=()=>{ - debugger + // debugger let {fileList,description} =this.state; let newfileList=[]; for(var list of fileList){ diff --git a/public/react/src/modules/courses/coursesPublic/Associationmodel.js b/public/react/src/modules/courses/coursesPublic/Associationmodel.js index f792fc63b..a1f5a9e70 100644 --- a/public/react/src/modules/courses/coursesPublic/Associationmodel.js +++ b/public/react/src/modules/courses/coursesPublic/Associationmodel.js @@ -59,7 +59,7 @@ class Associationmodel extends Component{ goback=()=>{ - debugger + // debugger this.setState({ Modalstype:false, }) @@ -70,7 +70,7 @@ class Associationmodel extends Component{ setSaves=()=>{ - debugger + // debugger let {projectvalue}=this.state; let taskid=this.props.taskid; let url="/graduation_tasks/"+taskid+"/graduation_works/relate_project.json"; diff --git a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js index 6fa082f59..b5e7ab820 100644 --- a/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js +++ b/public/react/src/modules/courses/exercise/Exercisestatisticalresult.js @@ -86,7 +86,7 @@ class Exercisestatisticalresult extends Component { page:pageNumber }) - debugger + // debugger $('html').animate({ scrollTop: 10 }, 1000); diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js index 60fc8e21b..8abcc17b4 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitedit.js @@ -393,7 +393,7 @@ class GraduationTasksSubmitedit extends Component{ // console.log(fileList); if(values.description===undefined||values.description===""){ this.scrollToAnchor("valuestypes"); - debugger + // debugger return } if(workslist.task_type===2){ diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitnew.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitnew.js index d0cedb487..3a77600dc 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitnew.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksSubmitnew.js @@ -358,7 +358,7 @@ class GraduationTasksSubmitnew extends Component{ //公用数据 Commoninterface = (fileList,selectmemberslist,workslist)=>{ - debugger + // debugger let userids=[]; for(var list of selectmemberslist){ @@ -384,7 +384,7 @@ class GraduationTasksSubmitnew extends Component{ // console.log(fileList); if(values.description===undefined||values.description===""){ this.scrollToAnchor("valuestypes"); - debugger + // debugger return } if(workslist&&workslist.task_type===2){ @@ -460,7 +460,7 @@ class GraduationTasksSubmitnew extends Component{ //确认 hidestartshixunsreplace=()=>{ - debugger + // debugger let {fileList,selectmemberslist,workslist}=this.state; this.Commoninterface(fileList,selectmemberslist,workslist); diff --git a/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js b/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js index 637a4f3c6..2e9efba0c 100644 --- a/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js +++ b/public/react/src/modules/courses/graduation/tasks/GraduationTasksedit.js @@ -145,7 +145,7 @@ class GraduationTasksedit extends Component{ } onAttachmentRemove = (file) => { - debugger + // debugger this.cancelAttachment(); const url = `/attachments/${file.response ? file.response.id : file.uid}.json` // const url = `/attachments/${file}.json` diff --git a/public/react/src/modules/courses/graduation/tasks/index.js b/public/react/src/modules/courses/graduation/tasks/index.js index 7bf9b690b..493fc1916 100644 --- a/public/react/src/modules/courses/graduation/tasks/index.js +++ b/public/react/src/modules/courses/graduation/tasks/index.js @@ -37,7 +37,7 @@ class GraduationTasks extends Component{ } } fetchAll = (search,page,order,count) => { -debugger +// debugger const cid = this.props.match.params.coursesId @@ -554,7 +554,7 @@ debugger } // 题库选用成功后刷新页面 useBankSuccess=(checkBoxValues,object_ids)=>{ - debugger + // debugger let {search,page,order,all_count} = this.state; this.fetchAll(search,page,order,all_count) } diff --git a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js index ac0417f39..292830fb8 100644 --- a/public/react/src/modules/courses/poll/PollDetailTabForthRules.js +++ b/public/react/src/modules/courses/poll/PollDetailTabForthRules.js @@ -115,7 +115,7 @@ class PollDetailTabForthRules extends Component{ } //修改发布规则里面的发布时间 changeRulePublishTime=(e,date,index)=>{ - debugger + // debugger let arr=Object.assign({}, this.state.rules[parseInt(index)]); arr.publish_time=date=== ""?"":moment(handleDateString(date)).format("YYYY-MM-DD HH:mm"); if(!arr.end_time){ diff --git a/public/react/src/modules/paths/PathDetail/DetailCards.js b/public/react/src/modules/paths/PathDetail/DetailCards.js index 0cac533d1..115f7066c 100644 --- a/public/react/src/modules/paths/PathDetail/DetailCards.js +++ b/public/react/src/modules/paths/PathDetail/DetailCards.js @@ -228,7 +228,7 @@ class DetailCards extends Component{ isSpin:true, }) axios.get(url).then((response) => { - debugger + // debugger if(response.status===200){ // let path="/shixuns/"+response.data.shixun_identifier+"/challenges"; // this.props.history.push(path); diff --git a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js index 9ab807391..b3cfaf5b0 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js +++ b/public/react/src/modules/tpm/challengesnew/TPMchallengesnew.js @@ -339,7 +339,7 @@ export default class TPMchallengesnew extends Component { } if(exec_time===null||exec_time===undefined||exec_time===""){ -debugger + this.setState({ shixunExec_timeType:false }) diff --git a/public/react/src/modules/tpm/newshixuns/Newshixuns.js b/public/react/src/modules/tpm/newshixuns/Newshixuns.js index 192bfdd8b..2533856db 100644 --- a/public/react/src/modules/tpm/newshixuns/Newshixuns.js +++ b/public/react/src/modules/tpm/newshixuns/Newshixuns.js @@ -503,7 +503,7 @@ class Newshixuns extends Component { sendsure_apply = () => { let {languagewrite,systemenvironment,testcoderunmode} = this.state; - debugger + // debugger // console.log("点击确定") // console.log("languagewrite"+languagewrite); // console.log("systemenvironment"+systemenvironment); @@ -538,7 +538,7 @@ class Newshixuns extends Component { return item.response ? item.response.id : item.id }) } - debugger + // debugger if( attachment_ids === undefined || attachment_ids.length===0){ notification.open(