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