摘要: 1.安装axios npm: $ npm install axios -S cdn: <script src="https://unpkg.com/axios/dist/axios.min.js"></script> 2.配置axios 在项目中新建api/index.js文件,用以配置axios 阅读全文
posted @ 2020-08-03 08:44 zsq_fengchen 阅读(13994) 评论(2) 推荐(0) 编辑