This commit is contained in:
hailin 2025-04-22 20:19:59 +08:00
parent 4f5d2edcdf
commit d353f68354
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
// const locale = pathname.split("/")[1] || "en" // 获取路径中的 locale 部分,如果没有则默认为 "en" // const locale = pathname.split("/")[1] || "en" // 获取路径中的 locale 部分,如果没有则默认为 "en"
// 强制跳转到带有 locale 的 setup 页面 // 强制跳转到带有 locale 的 setup 页面
console.log("[global-state.tsx]-------------", `${homePath}/setup`)
return router.push(`${homePath}/setup`) return router.push(`${homePath}/setup`)
// return router.push(`/${locale}/setup`) // return router.push(`/${locale}/setup`)
} }