const { data, error, isValidating, mutate } = useSWR(key, fetcher, options) ... 请求数据的Promise 返回函数(详情); options :(可选)该SWR hook 的选项对象 ...
確定! 回上一頁