To use axios in SWR, set axios as the second argument of useSWR() , and SWR ... useSWR( `https://example.com/api/v1/post/${props.query.id}`, ...
確定! 回上一頁