|
|
@ -133,7 +133,7 @@ class GraduateTopicNew extends Component{
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
const cid = this.props.match.params.coursesId
|
|
|
|
const cid = this.props.match.params.coursesId
|
|
|
|
const topicId = this.props.match.params.topicId
|
|
|
|
const topicId = this.props.match.params.topicId
|
|
|
|
console.log(this.props);
|
|
|
|
// console.log(this.props);
|
|
|
|
|
|
|
|
|
|
|
|
this.props.form.validateFieldsAndScroll((err, values) => {
|
|
|
|
this.props.form.validateFieldsAndScroll((err, values) => {
|
|
|
|
if (!err) {
|
|
|
|
if (!err) {
|
|
|
@ -279,7 +279,7 @@ class GraduateTopicNew extends Component{
|
|
|
|
const { current_user } = this.props
|
|
|
|
const { current_user } = this.props
|
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
|
let{ topicId,coursesId }=this.props.match.params
|
|
|
|
let{ topicId,coursesId }=this.props.match.params
|
|
|
|
console.log(this.props);
|
|
|
|
// console.log(this.props);
|
|
|
|
|
|
|
|
|
|
|
|
const formItemLayout = {
|
|
|
|
const formItemLayout = {
|
|
|
|
labelCol: {
|
|
|
|
labelCol: {
|
|
|
@ -312,8 +312,8 @@ class GraduateTopicNew extends Component{
|
|
|
|
return isLt150M;
|
|
|
|
return isLt150M;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
console.log("dfsf");
|
|
|
|
// console.log("dfsf");
|
|
|
|
console.log(this.props);
|
|
|
|
// console.log(this.props);
|
|
|
|
return(
|
|
|
|
return(
|
|
|
|
<div className="newMain ">
|
|
|
|
<div className="newMain ">
|
|
|
|
<style>{`
|
|
|
|
<style>{`
|
|
|
|