|
@@ -114,7 +114,7 @@ const handleLogout = async () => {
|
|
|
const items = ref([
|
|
|
// { title: '联系人信息', icon: 'mdi-account-outline', change: () => router.push({ path: '/resume' }) },
|
|
|
// { title: '账号管理', icon: 'mdi-cog-outline', change: () => router.push({ path: '/personalAccount/accountBinding' }) },
|
|
|
- // { title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: router.push({ path: '/login' }) },
|
|
|
+ { title: t('setting.switchToJobSeeker'), icon: 'mdi-swap-horizontal', change: handleLogout },
|
|
|
{ title: t('setting.logOut'), icon: 'mdi-logout', change: handleLogout }
|
|
|
])
|
|
|
const baseInfo = JSON.parse(localStorage.getItem('baseInfo')) // 人才信息
|