实训作业优化

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

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

Loading…
Cancel
Save