dev_forum
ysl 6 years ago
parent 89561bcecd
commit d486fa1272

@ -240,7 +240,7 @@ class GraduationTasksnew extends Component {
return isLt150M; return isLt150M;
}, },
}; };
this.ifHasAnchorJustScorll(); // this.ifHasAnchorJustScorll();
// console.log(this.props.current_user.course_name) // console.log(this.props.current_user.course_name)
return ( return (
<React.Fragment> <React.Fragment>
@ -313,7 +313,7 @@ class GraduationTasksnew extends Component {
{getFieldDecorator('name', { {getFieldDecorator('name', {
rules: [{required: true, message: "不能为空"}], rules: [{required: true, message: "不能为空"}],
})(<Input placeholder="请输入任务名称最大限制60个字符" value={title_value} onInput={this.changeTitle} })(<Input placeholder="请输入任务名称最大限制60个字符" value={title_value} onInput={this.changeTitle}
className="searchView searchViewAfter mb20" style={{"width": "100%"}} maxLength="60" className="searchView searchViewAfter mb20 h40" style={{"width": "100%"}} maxLength="60"
addonAfter={String(title_num)}/>)} addonAfter={String(title_num)}/>)}
</Form.Item> </Form.Item>
<input type="hidden" id='nametypes'/> <input type="hidden" id='nametypes'/>

@ -212,8 +212,8 @@ class Trialapplication extends Component {
this.setState({ this.setState({
isRenders: false isRenders: false
}) })
this.Cancel();
window.location.href = "/"; window.location.href = "/";
this.Cancel();
} else { } else {
this.setState({ this.setState({
isRenders: false isRenders: false

Loading…
Cancel
Save