fix(theme): 切换前端主题后重置到首页,避免路由 404 (#5612)

* fix(theme): 切换前端主题后重置到首页,避免路由 404
经典前端与新版前端的路由路径不同,切换主题后停留在原路径会导致 404:
- 经典前端切换到新版前端时跳转首页,不再原地刷新当前路径
- 新版前端保存时若前端主题发生变化,保存成功后跳转首页

Fixes #4947

* fix: 更新前端切换提示信息,修正页面跳转逻辑
This commit is contained in:
peakchao
2026-06-26 21:44:23 +08:00
committed by GitHub
parent 35074345e8
commit c0e42bfbdc
10 changed files with 48 additions and 12 deletions
+1 -1
View File
@@ -1362,7 +1362,7 @@
"已发起支付": "Paiement initié",
"已发送到 Fluent": "Envoyé à Fluent",
"已取消 Passkey 注册": "Enregistrement du Passkey annulé",
"已切换到新版前端,正在刷新页面": "Passage au nouveau frontend effectué, actualisation de la page",
"已切换到新版前端,正在跳转首页": "Passage au nouveau frontend effectué, redirection vers l'accueil",
"已同步到渠道": "Synced to Channel",
"已启用": "Activé",
"已启用 Passkey,无需密码即可登录": "Passkey activé. Connexion sans mot de passe disponible.",