摘要: 使用 application/x-www-form-urlencoded 格式化 默认情况下,axios串联js对象为 JSON 格式。为了发送 application/x-wwww-form-urlencoded格式数据, 你可以使用一下的设置。 浏览器 Browser 在浏览器中你可以如下使用  阅读全文
posted @ 2019-05-22 15:22 南瓜壳 阅读(776) 评论(0) 推荐(0) 编辑
摘要: 初学js的时候,被回调函数搞得很晕,现在回过头来总结一下什么是回调函数。 我们先来看看回调的英文定义:A callback is a function that is passed as an argument to another function and is executed after it 阅读全文
posted @ 2019-05-22 09:06 南瓜壳 阅读(200) 评论(0) 推荐(0) 编辑