Refactor job detail navigation in index page to include encrypted job ID and remove login check

This commit is contained in:
2026-04-29 10:19:17 +08:00
parent 770ca67616
commit 7488ad30f2

View File

@@ -268,10 +268,11 @@ const checkLogin = () => {
};
// 跳转到详情页面
function nextDetail(job) {
navTo(`/packageA/pages/post/post?jobId=${encodeURIComponent(job.jobId)}&encryptJobId=${job.encryptJobId}`);
// 登录检查
if (checkLogin()) {
navTo(`/packageA/pages/post/post?jobId=${encodeURIComponent(job.jobId)}`);
}
// if (checkLogin()) {
// }
}
function formatMD(dateStr) {