import useSWR from 'swr' function fetcher(key) { ... return data } ... error, isValidating, mutate} = useSWR(key, fetcher, options) if (error) ...
確定! 回上一頁