Compare commits

...

1 Commits

Author SHA1 Message Date
StyleZhang
178e9d52a1 fix jwt in web 2023-07-11 15:39:18 +08:00
2 changed files with 4 additions and 2 deletions

View File

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

View File

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