神祖牌位管理模組,掛單模組前端URL添加HTTP_HOST
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
},
|
||||
methods: {
|
||||
getStatusList() {
|
||||
axios.get('/api/region/bed/status/list')
|
||||
axios.get(HTTP_HOST + 'api/region/bed/status/list')
|
||||
.then((res) => {
|
||||
this.items = res.data
|
||||
this.loading = false;
|
||||
@@ -73,7 +73,7 @@
|
||||
})
|
||||
},
|
||||
deleteStatus(item) {
|
||||
axios.post('/api/region/bed/status/delete', null, {
|
||||
axios.post(HTTP_HOST + 'api/region/bed/status/delete', null, {
|
||||
params: { code: item.code }
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user