比如维护 page 、 pageSize 、 sorter 、 filter 的状态,还得考虑搜索条件变化后,重置 page 到第一页。这些逻辑光想想就头疼了,别说 ... 大家应该都听过useSWR 吧?
確定! 回上一頁