This commit is contained in:
parent
a1acfccba5
commit
829a5f8a17
|
|
@ -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`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue