Kaynağa Gözat

Merge branch 'dev' of https://git.citupro.com/zhengnaiwen_citu/menduner into dev

Xiao_123 8 ay önce
ebeveyn
işleme
9b0dda730e
2 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 0 1
      src/store/user.js
  2. 1 1
      src/utils/auth.js

+ 0 - 1
src/store/user.js

@@ -142,7 +142,6 @@ export const useUserStore = defineStore('user',
         updateEventList(false)
         Snackbar.success('切换成功')
         await this.checkEnterpriseBaseInfo() // 校验企业必填信息
-        console.log('1', 11111)
         window.location.href = '/enterprise'
       },
       // 获取当前登录的企业用户信息

+ 1 - 1
src/utils/auth.js

@@ -16,7 +16,7 @@ const isEnterprise = () => {
   return bool
 }
 
-export const getIsEnterprise = () => { return isEnterprise() }
+export const getIsEnterprise = () => { return isEnterprise() } // 是否是企业路由
 
 // 获取token
 export const getToken = (index = 2) => { // index=1: 使用招聘token; index=2: 使用求职token