关闭职位页空个人资料时强制上传一份经历,和添加时间处理工具

This commit is contained in:
2026-05-22 09:59:34 +08:00
parent 1637ee5bbc
commit dd103f0794
6 changed files with 269 additions and 17 deletions
+8 -8
View File
@@ -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()