From 99aea9e243406714d133e5af31fbe8b0efe8d29b Mon Sep 17 00:00:00 2001 From: hanguangpu01 Date: Tue, 9 Dec 2025 17:48:07 +0800 Subject: [PATCH] =?UTF-8?q?feat(careerfair):=20=E4=BC=98=E5=8C=96=E6=8B=9B?= =?UTF-8?q?=E8=81=98=E4=BC=9A=E9=A1=B5=E9=9D=A2=E5=8A=A0=E8=BD=BD=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 异步加载招聘会数据 - 移除调试代码 - 简化登录状态检查逻辑 - 优化 exhibitors 页面跳转条件判断 - 移除冗余的登录提示信息 --- pages/careerfair/careerfair.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pages/careerfair/careerfair.vue b/pages/careerfair/careerfair.vue index 8b35cf7..1c8e896 100644 --- a/pages/careerfair/careerfair.vue +++ b/pages/careerfair/careerfair.vue @@ -132,7 +132,7 @@ }); const baseUrl = config.imgBaseUrl; - onLoad(() => { + onLoad(async () => { // const today = new Date(); // const year = today.getFullYear(); // const month = String(today.getMonth() + 1).padStart(2, '0'); @@ -143,9 +143,7 @@ // startDate: currentDate, // }); // weekList.value = result; - if(thirdLogin()){ - getHeart(); - } + getHeart(); }); onShow(() => { @@ -216,7 +214,6 @@ async function goDetail(jobFairId){ if(await thirdLogin()){ - debugger if(state.current != 3){ navTo('/packageA/pages/exhibitors/exhibitors?jobFairId=' + jobFairId) }else{ @@ -306,7 +303,6 @@ getUser(); } else { isLogin.value = false; - $api.msg('请先登录') getFair("refresh"); } });