diff --git a/public/react/src/modules/courses/elearning/YslDetailCards.js b/public/react/src/modules/courses/elearning/YslDetailCards.js
index 4b295f118..d65c95390 100644
--- a/public/react/src/modules/courses/elearning/YslDetailCards.js
+++ b/public/react/src/modules/courses/elearning/YslDetailCards.js
@@ -116,6 +116,11 @@ class YslDetailCards extends Component{
}
+ Pathlisteditundefined=()=>{
+ this.setState({
+ pathlistedit:undefined
+ })
+ };
hidestartshixunsreplace=(url)=>{
this.setState({
isSpin:true,
@@ -521,6 +526,7 @@ class YslDetailCards extends Component{
ysldetailcards={"ysldetailcards"}
pathid={subject_id}
coursesId={pathid}
+ Pathlisteditundefined={this.Pathlisteditundefined}
>
:""
}
diff --git a/public/react/src/modules/paths/PathDetail/DetailCards.js b/public/react/src/modules/paths/PathDetail/DetailCards.js
index d459694ef..2c4020d9a 100644
--- a/public/react/src/modules/paths/PathDetail/DetailCards.js
+++ b/public/react/src/modules/paths/PathDetail/DetailCards.js
@@ -309,7 +309,13 @@ class DetailCards extends Component{
this.setState({
startshixunCombattype:false
})
- }
+ };
+
+ Pathlisteditundefined=()=>{
+ this.setState({
+ pathlistedit:undefined
+ })
+ };
render(){
@@ -502,19 +508,16 @@ class DetailCards extends Component{
}
-
-
-
-
-
+
)
})
diff --git a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js
index 9fa97f853..0016db4dc 100644
--- a/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js
+++ b/public/react/src/modules/paths/PathDetail/DetailCardsEditAndEdit.js
@@ -93,22 +93,27 @@ class DetailCardsEditAndEdit extends Component{
})
}
+ componentDidMount(){
+ }
componentWillReceiveProps(nextProps, nextState) {
if(nextProps.pathlisteditlist!=undefined){
let list=[]
for(var i=0; i{
-
+ //输入数据绑定
this.setState({
stage_description:e.target.value
})