去掉实名认证(educoder)
This commit is contained in:
parent
0fa7bdf5d0
commit
bb63e9d16b
File diff suppressed because it is too large
Load Diff
|
@ -241,15 +241,15 @@ const competitionDetails: FC<PageProps> = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) {
|
// if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) {
|
||||||
dispatch({
|
// dispatch({
|
||||||
type: 'shixunsDetail/setActionTabs',
|
// type: 'shixunsDetail/setActionTabs',
|
||||||
payload: {
|
// payload: {
|
||||||
key: 'Banner-Auth',
|
// key: 'Banner-Auth',
|
||||||
},
|
// },
|
||||||
})
|
// })
|
||||||
return
|
// return
|
||||||
}
|
// }
|
||||||
if (HeaderDetail?.enroll_url) {
|
if (HeaderDetail?.enroll_url) {
|
||||||
openNewWindow(HeaderDetail?.enroll_url);
|
openNewWindow(HeaderDetail?.enroll_url);
|
||||||
return
|
return
|
||||||
|
|
|
@ -134,15 +134,15 @@ const competitionsIndexPage: FC<PageProps> = ({
|
||||||
if (!handleVerify(dispatch)) {
|
if (!handleVerify(dispatch)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (item?.is_authentication && !user?.userInfo?.authentication) {
|
// if (item?.is_authentication && !user?.userInfo?.authentication) {
|
||||||
dispatch({
|
// dispatch({
|
||||||
type: 'shixunsDetail/setActionTabs',
|
// type: 'shixunsDetail/setActionTabs',
|
||||||
payload: {
|
// payload: {
|
||||||
key: 'Banner-Auth',
|
// key: 'Banner-Auth',
|
||||||
},
|
// },
|
||||||
});
|
// });
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
if (url === 'ismodel') {
|
if (url === 'ismodel') {
|
||||||
if (item.member_of_course === true) {
|
if (item.member_of_course === true) {
|
||||||
openNewWindow(`/classrooms/${item.course_id}`);
|
openNewWindow(`/classrooms/${item.course_id}`);
|
||||||
|
|
Loading…
Reference in New Issue