![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node
赵天明
前端工作
展开
-
node版本如何升级
You are using Node v8.4.0, but this version of vue-cli requires Node >=8.9.Please upgrade your Node version.然后再用node -v,发现在本地的node版本是v8.4.0,有点老了,要升级了。可是,node怎么升级呢?有点慌...原创 2018-08-15 22:01:54 · 389970 阅读 · 434 评论 -
nodejs如何正确接收数组和对象
今天接收页面Form表单POST请求送来的多层对象,得到的数据如下:user[name]=zhao&user[pass]=111因为Form表单默认的content-type是 x-www-form-urlencoded那么nodejs怎么将上面的数据正确转成我们想要的数据?因为我用的是express框架,所以我默认就使用了body-parser这个中间件,得到的res.bo...原创 2018-11-10 20:59:02 · 9160 阅读 · 0 评论