Browser error console:
' Cannot read property ‘protocol’ of undefined'
Screenshot:
the reason:
This error is caused by an error introduced axios
Screenshot:
That can not be used Vue.use (axios); introduced
How to introduce axios correct?
Look workaround below.
Solution:
Proper use is
Vue.prototype $ axios = axios.;
Screenshot:
Thank you for Yu Lan!