我的知识记录分享
"h5" : {
"devServer" : {
"https" : false,
"proxy": {
"/api": {
"target": "http://api.******.com/",
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
}
}
}
}
"content-type":"application/x-www-form-urlencoded;application/json;charset=UTF-8"
Vue.prototype.$u.http.setConfig({
//baseUrl: 'http://api.*****.com',
loadingText: '努力加载中~',
loadingTime: 800,
header:{
"content-type":"application/x-www-form-urlencoded;application/json;charset=UTF-8"
}
});
发表评论: