|
@@ -322,14 +322,11 @@ const handleCommit = async () => {
|
|
|
params.phone = contactList[0].phone
|
|
|
params.email = contactList[0].email
|
|
|
|
|
|
- try {
|
|
|
- await enterpriseRegisterApply(params)
|
|
|
- Snackbar.success(t('common.submittedSuccessfully'))
|
|
|
- router.push({ path: '/recruit/entRegister/inReview' })
|
|
|
- } finally {
|
|
|
- localStorage.removeItem('enterpriseRegisterInfo')
|
|
|
- localStorage.removeItem('loginAccount')
|
|
|
- }
|
|
|
+ await enterpriseRegisterApply(params)
|
|
|
+ Snackbar.success(t('common.submittedSuccessfully'))
|
|
|
+ router.push({ path: '/recruit/entRegister/inReview' })
|
|
|
+ localStorage.removeItem('enterpriseRegisterInfo')
|
|
|
+ localStorage.removeItem('loginAccount')
|
|
|
}
|
|
|
|
|
|
// 不通过的企业注册申请 重新发起
|