背景:用Fetch统一管理React与服务端交互好处:1、请求的地方代码更少。 ... Fetch.tsx i… ... util/fetch'; Fetch.post(url, data).then((response: any) => { if ...
確定! 回上一頁