diff --git a/public/react/src/modules/courses/shixunHomework/TraineetraininginformationModal.js b/public/react/src/modules/courses/shixunHomework/TraineetraininginformationModal.js index ace1ebe7b..bc51a273d 100644 --- a/public/react/src/modules/courses/shixunHomework/TraineetraininginformationModal.js +++ b/public/react/src/modules/courses/shixunHomework/TraineetraininginformationModal.js @@ -79,11 +79,9 @@ class TraineetraininginformationModal extends Component { return str; } render() { - var columns; console.log(83); console.log(this.props.boolgalist); - if(this.props.boolgalist&&this.props.boolgalist === false) { - columns = [ + const columns = [ { title: '关卡', dataIndex: 'number', @@ -150,9 +148,8 @@ class TraineetraininginformationModal extends Component { ), } ] - } - else { - columns = [ + + const columnss = [ { title: '关卡', dataIndex: 'number', @@ -202,7 +199,7 @@ class TraineetraininginformationModal extends Component { ), } ] - } + return (
- { - this.props.game_list === undefined?"" : this.props.game_list.length<4? -
- +
+ {this.props.game_list === undefined ? "" : } + + : +
+
+ {this.props.game_list === undefined ? "" :
} + + } + + + + + + + : + + +
+ { + this.props.game_list === undefined?"" : this.props.game_list.length<4? +
+ -
- {this.props.game_list === undefined ? "" :
+
+ {this.props.game_list === undefined ? "" :
} - - : -
-
- {this.props.game_list === undefined ? "" :
} + + : +
+
+ {this.props.game_list === undefined ? "" :
} - - } + />} + + } + + + + + + + + } + + diff --git a/public/react/src/modules/tpm/newshixuns/Newshixuns.js b/public/react/src/modules/tpm/newshixuns/Newshixuns.js index 3dca1ad2b..8d38ac24d 100644 --- a/public/react/src/modules/tpm/newshixuns/Newshixuns.js +++ b/public/react/src/modules/tpm/newshixuns/Newshixuns.js @@ -948,7 +948,7 @@ class Newshixuns extends Component { : - + 上传附件 (单个文件50M以内)