关于vue-axios的url地址统一设置

var instance = axios.create({
baseURL: 'http://qqk.com/Wechat/',
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
},
});

原文地址:https://www.cnblogs.com/bluesky1024/p/6775031.html