feat(admin-web): add 404 page for unknown routes

Unknown URLs previously rendered a blank page. Add a catch-all route
under AppShell that shows the requested path plus back / workspace
actions, with zh-CN and en-US copy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-14 11:15:09 +08:00
parent 879677516f
commit 036377f02e
4 changed files with 289 additions and 0 deletions
+11
View File
@@ -233,6 +233,17 @@ const zhCN = {
title: "AI 点数明细",
description: "查看当前套餐 AI 点数余额、周期规则和最近消耗流水。",
},
notFound: {
title: "页面不存在",
description: "你访问的链接可能已经失效或被移动。",
},
},
notFound: {
title: "页面走丢了",
description: "我们没有找到这个地址对应的内容,可能链接拼写有误,或者页面已经下线。",
pathLabel: "请求路径",
back: "返回上一页",
home: "回到工作台",
},
aiPoints: {
balance: "可用点数",