![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
npm
IT~少年人
渴望光荣
展开
-
开发封装使用axios请求
import axios from 'axios' class Ajax { constructor() { this.config = { timeout: 10000, headers: {}, auth: {}, } this.codeMessage = { 200: "服务器成功返回请求的数据。", 201: "新建或修改数据原创 2020-06-24 17:22:21 · 1881 阅读 · 0 评论 -
修改npm镜像
1、电脑文件路径: C:\Program Files\nodejs\node_modules\npm 2、npmrc文件记事本打开 registry = https://registry.npm.taobao.org复制到npmrc文件原创 2020-03-23 09:20:57 · 2009 阅读 · 0 评论