会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
大熊
点个关注不迷路, 大熊带你上高速 !
博客园
首页
新随笔
联系
订阅
管理
2022年8月27日
axios的content-type是自动设置的
摘要:
一. axios参数的传递方式 首先我们要知道 参数传递一般有两种,一种是 使用 params, 另一种是 data的方式,有很多的时候我们看到的前端代码是这样的。 1. get请求: axios({ method: 'GET', url: 'xxxxx', params: params, }) 或
阅读全文
posted @ 2022-08-27 11:33 大熊丨rapper
阅读(1112)
评论(0)
推荐(2)
编辑
公告