fix: register

This commit is contained in:
archer
2023-07-22 22:28:46 +08:00
parent 323953462b
commit 8151350d9f
6 changed files with 33 additions and 9 deletions

View File

@@ -35,9 +35,9 @@ function App({ Component, pageProps, isPc }: AppProps & { isPc?: boolean; respon
const [baiduTongji, setBaiduTongji] = useState<string>();
const { initIsPc } = useGlobalStore();
if (isPc !== undefined) {
initIsPc(isPc);
}
// if (isPc !== undefined) {
// initIsPc(isPc);
// }
useEffect(() => {
(async () => {