=> fetch(...args).then(res => res.json()); function App() { const { data, error } = useSWR("https://your-api/any", fetcher); if (error) ...
確定! 回上一頁