You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
我定义了一个函数,从服务端获取数据
此函数是可以成功从服务端获取json数据
然后我把这个函数设置为useRequest的回调
试图打印doRegister返回值的时候,console.log(data) 始终无法获取值, 打印出undefined。
是我哪个地方没有配置好吗?
Beta Was this translation helpful? Give feedback.
All reactions