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
-
通过这样一个分页请求钩子函数,可以减少很多重复代码
使用示例:在分页请求的时候直接使用分页请求钩子函数,这样代码会少很多
这时,如果你需要在请求时添加其他参数,那就可以像下面这样处理,非常的简单。
完整项目地址:https://github.com/lijunping365/Next-Antd-Template
Beta Was this translation helpful? Give feedback.
All reactions