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

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

posted @ 2017-04-27 16:45  BlueSky1024  阅读(1627)  评论(0编辑  收藏  举报