dev_hjm_a
杨树林 5 years ago
parent bb516db7dc
commit f763bdad55

@ -94,10 +94,10 @@ class YslDetailCards extends Component{
startshixunCombattype:true,
})
} else {
console.log("开始学习了");
// console.log("开始学习了");
window.open("/tasks/" + response.data.game_identifier,'_blank');
//这个是传过来 调用刷新
this.props.Myreload();
this.props.getPathCardsList();
// window.location.href = path
// let path="/tasks/"+response.data.game_identifier;
// this.props.history.push(path);
@ -109,6 +109,7 @@ class YslDetailCards extends Component{
};
componentDidMount(){
// console.log("YslDetailCards start");
let pathid=this.props.match.params.coursesId;
this.setState({
pathid:pathid

Loading…
Cancel
Save