Uncaught (in promise) TypeError: Cannot read property 'protocol' of undefined百度說(shuō)是axios 引用方式不對(duì)。但是按照教程 新增import axios from 'axios';
Vue.prototype.$http = axios;依舊還是報(bào)錯(cuò)。
添加回答
舉報(bào)
0/150
提交
取消