摘要:
在scr目录下的api目录创建一个JS文件 import axios from 'axios' //引入axios //下面这两个不一定需要引入,看你项目需要拦截的时候做什么操作,但是一般都需要引入store import store from '@/store/index' //引入store i 阅读全文
posted @ 2020-08-11 22:09
我是一枚前端小菜鸟
阅读(324)
评论(0)
推荐(0)
2020年8月11日