想问一下 使用useRequst 自动请求时 如何给请求传递参数 #618
Replies: 1 comment
-
使用函数就可以事实传参了 const { data } = useRequest(() => fetch(params)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
不知道这样对不对
我在useRequest中没有找到传递参数的字段属性
Beta Was this translation helpful? Give feedback.
All reactions