fix(auth): 企微提醒卡片深链登录后回跳原目标
- 新增 shared/utils/redirect.ts 安全回跳校验(防开放重定向) - 路由守卫未登录跳转携带 redirect 完整深链,已登录访问登录页优先回跳 - 登录成功统一按 redirect 深链落地,支持企微卡片点击直达精益培训模块
This commit is contained in:
1 parent
f1beb6fefb
commit
1034435355
15 files changed
+656
-38
No files matched your search
@@ -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",
|
||||
|
||||
@@ -997,6 +997,18 @@
|
||||
"collapseWorkspace": "ย่อพื้นที่ทำงาน",
|
||||
"viewExamPdf": "ดู PDF ข้อสอบ"
|
||||
},
|
||||
"share": {
|
||||
"button": "แชร์",
|
||||
"title": "แชร์การอบรม",
|
||||
"description": "คัดลอกลิงก์หรือดาวน์โหลดคิวอาร์โค้ดเพื่อแชร์ให้พนักงาน เมื่อเข้าสู่ระบบแล้วจะไปยังโมดูลการอบรม \"{name}\" โดยอัตโนมัติ",
|
||||
"linkLabel": "ลิงก์การอบรม",
|
||||
"qrLabel": "คิวอาร์โค้ดการอบรม",
|
||||
"copyLink": "คัดลอกลิงก์",
|
||||
"copied": "คัดลอกลิงก์แล้ว",
|
||||
"copyFailed": "คัดลอกไม่สำเร็จ โปรดคัดลอกด้วยตนเอง",
|
||||
"downloadQr": "ดาวน์โหลดคิวอาร์โค้ด",
|
||||
"close": "ปิด"
|
||||
},
|
||||
"steps": {
|
||||
"video": "ดูวิดีโอ",
|
||||
"summary": "ทบทวนความรู้",
|
||||
|
||||
@@ -1031,6 +1031,18 @@
|
||||
"collapseWorkspace": "收起工作区",
|
||||
"viewExamPdf": "查看试题 PDF"
|
||||
},
|
||||
"share": {
|
||||
"button": "分享",
|
||||
"title": "分享培训",
|
||||
"description": "复制链接或下载二维码发给员工,对方登录后自动进入「{name}」培训模块。",
|
||||
"linkLabel": "培训链接",
|
||||
"qrLabel": "培训二维码",
|
||||
"copyLink": "复制链接",
|
||||
"copied": "链接已复制",
|
||||
"copyFailed": "复制失败,请手动复制",
|
||||
"downloadQr": "下载二维码",
|
||||
"close": "关闭"
|
||||
},
|
||||
"steps": {
|
||||
"video": "观看视频",
|
||||
"summary": "复盘知识点",
|
||||
|
||||
@@ -997,6 +997,18 @@
|
||||
"collapseWorkspace": "收起工作區",
|
||||
"viewExamPdf": "查看試題 PDF"
|
||||
},
|
||||
"share": {
|
||||
"button": "分享",
|
||||
"title": "分享培訓",
|
||||
"description": "複製連結或下載二維碼發給員工,對方登入後自動進入「{name}」培訓模組。",
|
||||
"linkLabel": "培訓連結",
|
||||
"qrLabel": "培訓二維碼",
|
||||
"copyLink": "複製連結",
|
||||
"copied": "連結已複製",
|
||||
"copyFailed": "複製失敗,請手動複製",
|
||||
"downloadQr": "下載二維碼",
|
||||
"close": "關閉"
|
||||
},
|
||||
"steps": {
|
||||
"video": "觀看影片",
|
||||
"summary": "複盤知識點",
|
||||
|
||||
Reference in new issue
Block a user