dev_forum
杨树明 6 years ago
parent 221ec2d64d
commit ea8a3401af

@ -40,8 +40,8 @@ class coursesHomeCard extends Component{
className="mt80 mb25"/> className="mt80 mb25"/>
<p className="font-14 color-white">非成员不能访问</p> <p className="font-14 color-white">非成员不能访问</p>
</div> </div>
{/*<a href={item.first_category_url} className="square-img" >*/} <a href={item.first_category_url} className="square-img" >
<a href={`/courses/${item.id}/students`} className="square-img" > {/*<a href={`/courses/${item.id}/students`} className="square-img" >*/}
{/*target="_blank"*/} {/*target="_blank"*/}
{ {
item.is_public===1&&item.id===1309? item.is_public===1&&item.id===1309?

@ -346,6 +346,10 @@ class LoginDialog extends Component {
if(response===undefined){ if(response===undefined){
return return
} }
if(response.data.identity === null || response.data.identity === undefined){
this.props.history.push("/interesse");
return;
}
if(response.status===200){ if(response.status===200){
if (response.data.status === 402) { if (response.data.status === 402) {
window.location.href = response.data.url; window.location.href = response.data.url;

Loading…
Cancel
Save