vue 全局引入axios

1.安装 网上有多种方法,这里使用npm的安装方式: npm install axios 出现如下表示安装完成: 2.全局注册axios main.js // The Vue build version to load with the `import` command // (runtime-only or standalone) has been set in webpack.base.con
相关文章
相关标签/搜索