xiaolin.fu 7 mesi fa
parent
commit
4c004ebafb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/app/[locale]/(TabBar)/sports/SportsClient.tsx

+ 1 - 1
src/app/[locale]/(TabBar)/sports/SportsClient.tsx

@@ -66,7 +66,7 @@ const SportsClient: FC<Props> = (props) => {
         bt.initialize({
             brand_id: brand_id,
             token: token,//使用最新的token
-            // onTokenExpired: getGameDetailApi, //过期自动更新token
+            onTokenExpired: getGameDetailApi, //过期自动更新token
             onSessionRefresh: () => {
               // 销毁之前的实例并等待刷新完成
               if(btRef.current){