Kaynağa Gözat

企业用户首页

lifanagju_citu 11 ay önce
ebeveyn
işleme
f05638887a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/layout/personal/navBar.vue

+ 2 - 2
src/layout/personal/navBar.vue

@@ -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' }) 
+    // 重新走登录拿数据
   }
 }