Table 分页请求经过这样封装之后代码可以少很多 #46543
lijunping365
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
通过这样一个分页请求钩子函数,可以减少很多重复代码
使用示例:在分页请求的时候直接使用分页请求钩子函数,这样代码会少很多
这时,如果你需要在请求时添加其他参数,那就可以像下面这样处理,非常的简单。
完整项目地址:https://github.com/lijunping365/Next-Antd-Template
Beta Was this translation helpful? Give feedback.
All reactions