Cannot read property 'protocol' of undefined!

如果在使用vue和axios时,报这样的错误,看看是不是将vue.use(axios).这样是不对的,直接引入使用就可以了

猜你喜欢

转载自blog.csdn.net/liukai6/article/details/82707179