... 在 componentDidMount 的生命週期或者是寫一個 useEffect 的方式進行data ... 由於我們把fetcher 傳入 SWRConfig 了,這邊 useSWR 的參數就只要傳 ...
確定! 回上一頁