Vue.prototype.$http.defaults.baseURL ="http://thapi.99dudesign.com/index.php/Api"
this.$http.post('/htt/House/house_lists/', {
type: 1
}).then((d)=>{
console.log(d)
})
Vue.prototype.$http.defaults.baseURL ="http://thapi.99dudesign.com/index.php/Api"
this.$http.post('/htt/House/house_lists/', {
type: 1
}).then((d)=>{
console.log(d)
})
转载于:https://www.cnblogs.com/nns4/p/8504313.html