diff --git a/public/react/src/modules/tpm/TPMIndex.css b/public/react/src/modules/tpm/TPMIndex.css index c8a48440c..529c7df58 100644 --- a/public/react/src/modules/tpm/TPMIndex.css +++ b/public/react/src/modules/tpm/TPMIndex.css @@ -136,7 +136,7 @@ body>.-task-title { margin-right: 20px; } .HeaderSearch .ant-input-search .ant-input{ - height:30px; + /*height:30px;*/ background: #373e3f !important; border: 1px solid #373e3f !important; diff --git a/public/react/src/modules/tpm/challengesnew/TPMevaluation.js b/public/react/src/modules/tpm/challengesnew/TPMevaluation.js index 01b99b4c2..b334d33e8 100644 --- a/public/react/src/modules/tpm/challengesnew/TPMevaluation.js +++ b/public/react/src/modules/tpm/challengesnew/TPMevaluation.js @@ -189,10 +189,14 @@ export default class TPMevaluation extends Component { } let newevaluationlist=[] if(response.data.test_sets.length===0){ - let newlist=[ - {hidden:0,input:"",output:"",score:50}, - {hidden:1,input:"",output:"",score:50} - ] + // let newlist=[ + // {hidden:0,input:"",output:"",score:50}, + // {hidden:1,input:"",output:"",score:50} + // ] + let newlist=[ + {input:"",output:"",score:50}, + {input:"",output:"",score:50} + ] newevaluationlist=newlist }else{ newevaluationlist=response.data.test_sets @@ -243,7 +247,8 @@ export default class TPMevaluation extends Component { addevaluationon=()=>{ let {evaluationlist,markvalue}=this.state; let newevaluationlist=evaluationlist; - newevaluationlist.push({hidden:0,input:"",output:"",score:0}); + // newevaluationlist.push({hidden:0,input:"",output:"",score:0}); + newevaluationlist.push({input:"",output:"",score:0}); newevaluationlist=this.oneditevaluationlist(newevaluationlist,markvalue); this.setevaluationlist(newevaluationlist); } @@ -1076,7 +1081,7 @@ export default class TPMevaluation extends Component { >% - this.evaluationonChange(item.hidden,key)} checked={item.hidden===1?true:false}>隐藏 + {/*this.evaluationonChange(item.hidden,key)} checked={item.hidden===1?true:false}>隐藏*/} diff --git a/public/react/src/modules/tpm/challengesnew/TpmQuestionMain.js b/public/react/src/modules/tpm/challengesnew/TpmQuestionMain.js index 2de04f56a..614842ab8 100644 --- a/public/react/src/modules/tpm/challengesnew/TpmQuestionMain.js +++ b/public/react/src/modules/tpm/challengesnew/TpmQuestionMain.js @@ -51,7 +51,7 @@ export default class TpmQuestionMain extends Component { *
+ watch={true} className="courseMessageMD" initValue={this.props.contentMdRefval} height={700}>