- 博客(2)
- 资源 (1)
- 收藏
- 关注
转载 axios的get,post方法
学习vue和nodejs的过程当中,涉及到了axios,今天为了测试,写了get和post两个方法来跟node服务端交互,结果因为header和参数弄了好久,在此记录一下,同时分享; 由于刚接触axios,在测试方法中,写的都是很简单的东西,不过能够实现基础功能,大神看到的话…非常欢迎指导… GET方法 axios.get(url, { params: { 'key': 'value' } }).then(function (response) { alert(''.concat(response.
2021-05-04 00:39:01
378
原创 npm不使用cnpm快速下载的方法
加上淘宝镜像指令 npm install --registry=https://registry.npm.taobao.org
2021-05-03 23:36:37
247
JavaScript权威指南(第6版)(中文版)
2019-03-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人