摘要: 自从用了react后,基本都是用fetch请求接口,在fetch封装中,delete的处理一般是: // 格式化get/delete请求的数据(fetch的get请求需要需要将参数拼接到url后面) if (option.method 'get' || option.method 'delete') 阅读全文
posted @ 2020-08-20 17:13 最爱小虾 阅读(1223) 评论(0) 推荐(0) 编辑