|
@@ -95,13 +95,9 @@ import { useRouter } from 'vue-router'
|
|
|
const router = useRouter()
|
|
|
const handleLogoClick = () => { router.push({ path: '/enterprise/home'}) }
|
|
|
|
|
|
-const userType = ref(0) // 0企业用户、1个人用户
|
|
|
const changeRole = () => {
|
|
|
- if (userType.value) {
|
|
|
- router.push({ path: '/enterprise/register' })
|
|
|
- } else {
|
|
|
- router.push({ path: '/' })
|
|
|
- }
|
|
|
+ router.push({ path: '/' })
|
|
|
+ // router.push({ path: '/enterprise/register' })
|
|
|
}
|
|
|
|
|
|
const handleToPersonalCenter = () => {
|