async function fetcher(url, params) { return await axios.get(url, params); } ... 使用SWR的组件会自动获取数据,如果参数未改变,useSWR被重新调用 ...
確定! 回上一頁