diff --git a/components/utility/global-state.tsx b/components/utility/global-state.tsx index 5fba3e2..86d2b66 100644 --- a/components/utility/global-state.tsx +++ b/components/utility/global-state.tsx @@ -192,7 +192,12 @@ export const GlobalState: FC = ({ children }) => { // 强制跳转到带有 locale 的 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`) }