Forráskód Böngészése

装微信的UI库之前

JXDS18FUJT 2 éve
szülő
commit
17e6aaa22a
1 módosított fájl, 4 hozzáadás és 1 törlés
  1. 4 1
      src/views/videokindList/index.tsx

+ 4 - 1
src/views/videokindList/index.tsx

@@ -24,7 +24,10 @@ export const VideoKindList: React.FC = (props: any) => {
     useEffect(() => {
 
         let query = new URLSearchParams(window.location.search)
-        api.studentUserInfo()
+        
+        api.studentUserInfo().then(res=>{
+
+        })
         if (query.get("state") == 'LOGIN') {
             api.loginGzhcode({
                 authorizationCode: query.get("code") || ""