configmap

This commit is contained in:
archer
2023-07-20 09:46:13 +08:00
parent c46a37541c
commit 62ee28b130
14 changed files with 147 additions and 257 deletions

View File

@@ -41,7 +41,9 @@ function App({ Component, pageProps, isPc }: AppProps & { isPc?: boolean; respon
useEffect(() => {
(async () => {
const { googleVerKey, baiduTongji } = await clientInitData();
const {
systemEnv: { googleVerKey, baiduTongji }
} = await clientInitData();
setGoogleVerKey(googleVerKey);
setBaiduTongji(baiduTongji);
})();