... useSWR(() => shouldFetch ? [`/api/post`, params] : null, fetcher ... fetch(url, { method: 'POST', body: JSON.stringify(arg) }) } const myApp ...
確定! 回上一頁