把默认配置withCredentials改为true,就可以允许跨域携带cookie信息了
Vue.axios.defaults.withCredentials = true;
转 :https://blog.csdn.net/guoscy/article/details/78953532
把默认配置withCredentials改为true,就可以允许跨域携带cookie信息了
Vue.axios.defaults.withCredentials = true;
转 :https://blog.csdn.net/guoscy/article/details/78953532