|
@@ -199,8 +199,7 @@ export const useUserStore = defineStore('user',
|
|
|
async checkEnterpriseBaseInfo () {
|
|
|
try {
|
|
|
const data = await getEnterpriseBaseInfo()
|
|
|
- // debugger
|
|
|
- if (data?.first === true || data?.first === null || data?.first === undefined) { // 首次登录才提示去完善资料
|
|
|
+ if (data?.first !== false && data?.first !== 'false') { // 首次登录才提示,不为false都属于首次登录
|
|
|
localStorage.setItem('checkEnterpriseBaseInfoFalseHref', '/recruit/enterprise/entInfoSetting')
|
|
|
}
|
|
|
// // 检验必填信息
|