... //loading mutate, // 函数,用来更改key对应的缓存} = useSWR<Data, ... 使用SWR的组件会自动获取数据,如果参数未改变,useSWR被重新调用 ...
確定! 回上一頁