|
|
|
@ -156,7 +156,7 @@ const CardList = () => {
|
|
|
|
|
<div style={{ paddingRight: '1rem', width: '20%', display: 'inline-block', textAlign: 'right' }}>
|
|
|
|
|
<Button type="primary" onClick={() => {
|
|
|
|
|
const info = item.chapter_id + ',' + item.course_id + ',' + item.subject_id;
|
|
|
|
|
window.open(location.pathname+'s#/course/detail/' + info)
|
|
|
|
|
window.open(location.pathname+'#/course/detail/' + info)
|
|
|
|
|
// history.push( '/course/detail/'+info);
|
|
|
|
|
}}>学习</Button>
|
|
|
|
|
</div>
|
|
|
|
|