dev_home
杨树林 5 years ago
parent 39e90f0522
commit cabfcb40c0

@ -45,6 +45,7 @@ class ModulationModal_exercise extends Component {
} }
Saves = () => { Saves = () => {
debugger
let { let {
textareaval, textareaval,
subjective_questions, subjective_questions,
@ -123,7 +124,7 @@ class ModulationModal_exercise extends Component {
Inputsvaltests: "请输入0-100的分数", Inputsvaltests: "请输入0-100的分数",
}) })
return; return;
} else if (parseFloat(Inputsval) > this.props.objective_score) { } else if (parseFloat(Inputsvals) > this.props.objective_score) {
this.setState({ this.setState({
Inputsvals: Inputsvals, Inputsvals: Inputsvals,
Inputsvaltypes: true, Inputsvaltypes: true,
@ -312,7 +313,9 @@ class ModulationModal_exercise extends Component {
"" ""
} }
<div className="mexertwo"> <div className="mexertwo" style={{
marginTop: "20px",
}}>
<p className="mexeheigth2">主观题成绩:</p> <p className="mexeheigth2">主观题成绩:</p>
<Input <Input
className={Inputsvaltype === true ? "borerinput myinputnumbers bor-reds" : "myinputnumbers"} className={Inputsvaltype === true ? "borerinput myinputnumbers bor-reds" : "myinputnumbers"}

Loading…
Cancel
Save