Uncaught (in promise) TypeError: Cannot read property 'protocol' of undefined


导致原因是vue中的axios导致的无法读取未定义的属性“protocol”

 

 

 因为post()方法中没有写请求的地址和参数

    axios.post().then((res) => {
//解析Controller响应回的数据,为模型数据赋值
this.pagination.total = res.data.total;
this.dataList = res.data.rows;


});

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM