'/api/data' : null, fetcher) //條件取key值const { data } = useSWR(() => '/api/projects?uid=' + id) //key 為函式useSWR(['/api/user', params], ...
確定! 回上一頁