神祖牌位管理模組,掛單模組前端URL添加HTTP_HOST
This commit is contained in:
@@ -316,7 +316,7 @@
|
||||
unoccupied: this.filter.unoccupied,
|
||||
gender: this.filter.Gender,
|
||||
};
|
||||
axios.post('/api/region/list', payload)
|
||||
axios.post(HTTP_HOST + 'api/region/list', payload)
|
||||
.then((res) => {
|
||||
this.regions = res.data.regions;
|
||||
this.summary = res.data.summary; // 保存後端統計
|
||||
@@ -347,7 +347,7 @@
|
||||
console.log(this.filter.Gender);
|
||||
},
|
||||
getRegionWithRoom() {
|
||||
axios.get('/api/region/regionwithroom')
|
||||
axios.get(HTTP_HOST + 'api/region/regionwithroom')
|
||||
.then((res) => {
|
||||
this.filter.areas = res.data;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user