|
@@ -223,14 +223,11 @@ const handleSwitch = async () => {
|
|
|
|
|
|
// 切换提交
|
|
// 切换提交
|
|
const switchSubmit = async () => {
|
|
const switchSubmit = async () => {
|
|
- // await logout() // 先退出个人登录
|
|
|
|
localStorage.setItem('enterpriseId', radios.value)
|
|
localStorage.setItem('enterpriseId', radios.value)
|
|
|
|
+ localStorage.setItem('emailLoginInfo', "false") // 先清空企业邮箱信息,避免求职切换招聘有邮箱登录信息遗留导致使用邮箱信息
|
|
|
|
|
|
// 跳转企业路由 且验证是否已完善必填基本信息
|
|
// 跳转企业路由 且验证是否已完善必填基本信息
|
|
window.location.href = '/enterpriseVerification'
|
|
window.location.href = '/enterpriseVerification'
|
|
-
|
|
|
|
- // 获取企业账号令牌以及企业用户个人信息
|
|
|
|
- // await userStore.changeRole(radios.value)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
const btnType = ref(0)
|
|
const btnType = ref(0)
|