dev_forum
杨树林 5 years ago
parent b18127ff68
commit 14ff69c1b2

@ -267,7 +267,7 @@ class Testpapersettinghomepage extends Component{
<p className="clearfix mb20 mt10">
<a className=" btn colorgrey fl hovercolorblue " onClick={this.goback} >{this.props.coursedata.name}</a>
<span className="color-grey-9 fl ml3 mr3">&gt;</span>
<a className=" btn colorgrey fl hovercolorblue " to={`/courses/${this.props.match.params.coursesId}/exercises/${Commonheadofthetestpaper&&Commonheadofthetestpaper.user_permission.left_banner_id}`} >试卷</a>
<a className=" btn colorgrey fl hovercolorblue " href={`/courses/${this.props.match.params.coursesId}/exercises/${Commonheadofthetestpaper&&Commonheadofthetestpaper.user_permission.left_banner_id}`} >试卷</a>
<span className="color-grey-9 fl ml3 mr3">&gt;</span>
<WordsBtn className="fl">试卷详情</WordsBtn>
</p>

@ -2294,7 +2294,14 @@ class PollNew extends Component {
mysave: false,
readOnlys: "readOnly",
cancellation: false,
})
});
// var currenturl = window.location.href;
// var newUrl = (currenturl.split("?"))[0];
// var newr=(newUrl.slice("new"))[0];
// console.log(newUrl);
// console.log("2301");
// console.log(newr);
// window.history.pushState('','',newUrl+'?tab='+e);
window.location.href = `/courses/${coursesId}/polls/${result.data.data.id}/edit`;
})

Loading…
Cancel
Save