|
@@ -102,7 +102,6 @@ import { reactive, ref } from 'vue'
|
|
|
import { getToken } from '@/utils/auth'
|
|
|
import { useUserStore } from '@/store/user'
|
|
|
import { useLocaleStore } from '@/store/locale'
|
|
|
-import { useLoginType } from '@/store/loginType'
|
|
|
defineOptions({ name: 'personal-navbar' })
|
|
|
|
|
|
defineProps({
|
|
@@ -112,7 +111,6 @@ defineProps({
|
|
|
}
|
|
|
})
|
|
|
|
|
|
-const changeLoginType = useLoginType()
|
|
|
const localeStore = useLocaleStore()
|
|
|
const userStore = useUserStore()
|
|
|
|
|
@@ -132,7 +130,6 @@ const changeRole = () => {
|
|
|
router.push({ path: '/enterprise/register' })
|
|
|
} else {
|
|
|
router.push({ path: '/enterprise/talentPool' })
|
|
|
- changeLoginType.change(0)
|
|
|
}
|
|
|
}
|
|
|
|