|
@@ -127,13 +127,13 @@ const router = useRouter()
|
|
|
const handleLogoClick = () => { router.push({ path: '/home'}) }
|
|
|
|
|
|
const show = ref(false)
|
|
|
-const userType = ref(1) // 0企业用户、1个人用户
|
|
|
+const userType = ref(0) // 0企业用户、1个人用户
|
|
|
const changeRole = () => {
|
|
|
if (userType.value) {
|
|
|
show.value = true
|
|
|
router.push({ path: '/enterprise/register' })
|
|
|
} else {
|
|
|
- router.push({ path: '/enterprise/home' })
|
|
|
+ // 重新走登录拿数据
|
|
|
}
|
|
|
}
|
|
|
|