Sfoglia il codice sorgente

切换为求职者

lifanagju_citu 11 mesi fa
parent
commit
5719ff8ec9
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      src/layout/company/navBar.vue

+ 1 - 3
src/layout/company/navBar.vue

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