神祖牌位管理模組,掛單模組前端URL添加HTTP_HOST
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
},
|
||||
methods: {
|
||||
getRegionTypeList() {
|
||||
axios.post('/api/regiontype/getreiontypelist')
|
||||
axios.post(HTTP_HOST + 'api/regiontype/getreiontypelist')
|
||||
.then((res) => {
|
||||
this.items = res.data;
|
||||
})
|
||||
@@ -71,7 +71,7 @@
|
||||
'title': '刪除提示',
|
||||
'message': `確定要刪除 ${item.name} ?`,
|
||||
onConfirm: () => {
|
||||
axios.post('/api/regiontype/delete',null, {
|
||||
axios.post(HTTP_HOST + 'api/regiontype/delete',null, {
|
||||
params: { uuid: item.uuid }
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user