-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] useAntdTable使用defaultParams传递的formData获取不到 #2258
Comments
感谢反馈~ |
|
补充下,不只是加form参数,defaultParams第二个参数是在Form和Table联动的时候使用,可以看这个https://ahooks.js.org/zh-CN/hooks/use-antd-table 联动的例子,单纯使用Table的话,第二个参数是没有用的 |
上面解释是正解。我忽略了 form 了,可以看看这个 demo |
通过这种方式传递的formData,getTableData获取不到formData
demo: https://codesandbox.io/s/heuristic-water-p97d86?file=/App.tsx:662-823
The text was updated successfully, but these errors were encountered: