实训作业优化

dev_daiao
杨树林 5 years ago
parent 1cd2c699e8
commit 1ff295f05e

@ -157,9 +157,9 @@ class Trainingjobsetting extends Component {
this.props.triggerRef(this); this.props.triggerRef(this);
// if (this.props.isAdmin() === false) { if (this.props.isAdmin() === false) {
// this.cancelEdit() this.cancelEdit()
// } }
} }
// componentWillReceiveProps(nextProps) { // componentWillReceiveProps(nextProps) {
@ -676,7 +676,7 @@ class Trainingjobsetting extends Component {
// this.props.showNotification(`总分值+效率效率分之和要等于100现在分值为` + max); // this.props.showNotification(`总分值+效率效率分之和要等于100现在分值为` + max);
// return; // return;
// } // }
debugger
if (this.state.proportion === "自定义分值") { if (this.state.proportion === "自定义分值") {
try { try {
if(parseFloat(this.state.CalculateMax)!==parseFloat(max)){ if(parseFloat(this.state.CalculateMax)!==parseFloat(max)){

Loading…
Cancel
Save