瀏覽代碼

切换为求职者

lifanagju_citu 11 月之前
父節點
當前提交
5719ff8ec9
共有 1 個文件被更改,包括 1 次插入3 次删除
  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: '/' })
   }
 }