fix(auth): 企微提醒卡片深链登录后回跳原目标

- 新增 shared/utils/redirect.ts 安全回跳校验(防开放重定向)
- 路由守卫未登录跳转携带 redirect 完整深链,已登录访问登录页优先回跳
- 登录成功统一按 redirect 深链落地,支持企微卡片点击直达精益培训模块
This commit is contained in:
runny committed 2026-09-11 04:09:56 +08:00
1 parent f1beb6fefb
commit 1034435355
15 files changed
+656 -38

No files matched your search

+12
View File
@@ -997,6 +997,18 @@
"collapseWorkspace": "Collapse Workspace",
"viewExamPdf": "View Exam PDF"
},
"share": {
"button": "Share",
"title": "Share Training",
"description": "Copy the link or download the QR code to share with employees. After signing in, they will land directly on the \"{name}\" training module.",
"linkLabel": "Training link",
"qrLabel": "Training QR code",
"copyLink": "Copy link",
"copied": "Link copied",
"copyFailed": "Copy failed. Please copy manually",
"downloadQr": "Download QR code",
"close": "Close"
},
"steps": {
"video": "Watch Video",
"summary": "Review Key Points",