fix jwt in web (#545)

This commit is contained in:
zxhlyh
2023-07-11 17:07:52 +08:00
committed by GitHub
parent d49ac1e4ac
commit 9af0da4450
2 changed files with 4 additions and 2 deletions

View File

@@ -310,6 +310,7 @@ const Main: FC<IMainProps> = ({
}
const fetchInitData = async () => {
if (!isInstalledApp)
await checkOrSetAccessToken()
return Promise.all([isInstalledApp

View File

@@ -255,6 +255,7 @@ const TextGeneration: FC<IMainProps> = ({
}
const fetchInitData = async () => {
if (!isInstalledApp)
await checkOrSetAccessToken()
return Promise.all([isInstalledApp