去掉实名认证(educoder)

This commit is contained in:
caishi 2023-06-01 16:13:53 +08:00
parent 0fa7bdf5d0
commit bb63e9d16b
3 changed files with 56 additions and 27319 deletions

27339
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -241,15 +241,15 @@ const competitionDetails: FC<PageProps> = ({
}
if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) {
dispatch({
type: 'shixunsDetail/setActionTabs',
payload: {
key: 'Banner-Auth',
},
})
return
}
// if (HeaderDetail?.is_authentication && !user?.userInfo?.authentication) {
// dispatch({
// type: 'shixunsDetail/setActionTabs',
// payload: {
// key: 'Banner-Auth',
// },
// })
// return
// }
if (HeaderDetail?.enroll_url) {
openNewWindow(HeaderDetail?.enroll_url);
return

View File

@ -134,15 +134,15 @@ const competitionsIndexPage: FC<PageProps> = ({
if (!handleVerify(dispatch)) {
return;
}
if (item?.is_authentication && !user?.userInfo?.authentication) {
dispatch({
type: 'shixunsDetail/setActionTabs',
payload: {
key: 'Banner-Auth',
},
});
return;
}
// if (item?.is_authentication && !user?.userInfo?.authentication) {
// dispatch({
// type: 'shixunsDetail/setActionTabs',
// payload: {
// key: 'Banner-Auth',
// },
// });
// return;
// }
if (url === 'ismodel') {
if (item.member_of_course === true) {
openNewWindow(`/classrooms/${item.course_id}`);