杨树林 5 years ago
commit a22f176c4c

@ -949,6 +949,11 @@ kbd,
samp { 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; 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 */ /* FORM START */
.ant-form label{ .ant-form label{
/* 为了覆盖antd的样式这里使用了importantTODO */ /* 为了覆盖antd的样式这里使用了importantTODO */

@ -72,7 +72,7 @@ class GraduationTasksappraiseMainEditor extends Component{
} }
clearInputs = () => { clearInputs = () => {
this.setState({ this.setState({
score: 0, score: undefined,
same_score: false, same_score: false,
fileList: [] fileList: []
}) })

@ -424,8 +424,8 @@ class AccountBasic extends Component {
}], }],
})( })(
<RadioGroup> <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> </RadioGroup>
)} )}
</Form.Item> </Form.Item>

@ -63,6 +63,10 @@ class Infos extends Component{
login:this.props.current_user.login login:this.props.current_user.login
}) })
} }
} else {
if (prevProps.match.params.username != this.props.match.params.username) {
this.getInfo(this.props.match.params.username);
}
} }
} }

Loading…
Cancel
Save