@ -949,6 +949,11 @@ kbd,
samp {
font-family: "Monospaced Number", "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* 表格间距太大 */
.ant-table-tbody>tr>td, .ant-table-thead>tr>th {
padding: 16px 0px;
/* FORM START */
.ant-form label{
/* 为了覆盖antd的样式,这里使用了important,TODO */
@ -72,7 +72,7 @@ class GraduationTasksappraiseMainEditor extends Component{
clearInputs = () => {
this.setState({
score: 0,
score: undefined,
same_score: false,
fileList: []
})
@ -424,8 +424,8 @@ class AccountBasic extends Component {
}],
})(
<RadioGroup>
<Radio value="0">男</Radio>
<Radio value="0" disabled={basicInfo.authentication != 'uncertified'}>男</Radio>
<Radio value="1">女</Radio>
<Radio value="1" disabled={basicInfo.authentication != 'uncertified'}>女</Radio>
</RadioGroup>
)}
</Form.Item>
@ -63,6 +63,10 @@ class Infos extends Component{
login:this.props.current_user.login
} else {
if (prevProps.match.params.username != this.props.match.params.username) {
this.getInfo(this.props.match.params.username);