调整 加注释debugger

dev_forum
杨树林 5 years ago
parent 8c0fd05b75
commit 49bd250e86

@ -119,7 +119,7 @@ class AccessoryModal2 extends Component{
}
}
Saves=()=>{
debugger
// debugger
let {fileList,description} =this.state;
let newfileList=[];
for(var list of fileList){

@ -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";

@ -86,7 +86,7 @@ class Exercisestatisticalresult extends Component {
page:pageNumber
})
debugger
// debugger
$('html').animate({
scrollTop: 10
}, 1000);

@ -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){

@ -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);

@ -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`

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

@ -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){

@ -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);

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

@ -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(

Loading…
Cancel
Save