基于dva的fetch进一步简单封装

直接上代码!json import fetch from 'dva/fetch'; function parseJSON(response) { return response.json(); } function checkStatus(response) { if (response.status >= 200 && response.status < 300) { ret
相关文章
相关标签/搜索