关闭职位页空个人资料时强制上传一份经历,和添加时间处理工具
This commit is contained in:
+8
-8
@@ -553,14 +553,14 @@ onMounted(async () => {
|
||||
store.dispatch('loadUserInfo')
|
||||
|
||||
// 检查个人资料是否存在,不存在则弹出欢迎弹窗
|
||||
try {
|
||||
const profileRes = await fetchProfile()
|
||||
if (profileRes.code === '0' && (!profileRes.data || profileRes.data === null)) {
|
||||
showWelcomeDialog.value = true
|
||||
}
|
||||
} catch {
|
||||
// 接口异常不阻塞页面加载
|
||||
}
|
||||
// try {
|
||||
// const profileRes = await fetchProfile()
|
||||
// if (profileRes.code === '0' && (!profileRes.data || profileRes.data === null)) {
|
||||
// showWelcomeDialog.value = true
|
||||
// }
|
||||
// } catch {
|
||||
// // 接口异常不阻塞页面加载
|
||||
// }
|
||||
|
||||
// 加载收藏统计(用于 Tab 标签显示)
|
||||
loadFavoriteCount()
|
||||
|
||||
Reference in New Issue
Block a user