调用axios(config) config中写的是params,而并非data时,headers里的Content-Type无效, 需将params改为data 更多推荐 axios设置Content-Type无效
发布评论