This commit is contained in:
hailin 2025-04-22 20:40:47 +08:00
parent a1acfccba5
commit 829a5f8a17
1 changed files with 6 additions and 1 deletions

View File

@ -192,7 +192,12 @@ export const GlobalState: FC<GlobalStateProps> = ({ children }) => {
// 强制跳转到带有 locale 的 setup 页面 // 强制跳转到带有 locale 的 setup 页面
console.log("[global-state.tsx]-------------", `${homePath}/setup`) console.log("[global-state.tsx]-------------", `${homePath}/setup`)
return router.push(`${homePath}/setup`)
setTimeout(() => {
router.push(`${homePath}/setup`)
}, 10 * 1000) // 10秒 = 10000毫秒
// return router.push(`${homePath}/setup`)
// return router.push(`/${locale}/setup`) // return router.push(`/${locale}/setup`)
} }