소스 검색

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

Xiao_123 8 달 전
부모
커밋
9b0dda730e
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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