update vuecli proxy
This commit is contained in:
@@ -230,7 +230,7 @@ export default {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$http({
|
||||
url: '/yd-monitor/monitoring/workshopSectionEquipment',
|
||||
url: this.$http.adornUrl('/monitoring/workshopSectionEquipment'),
|
||||
method: 'delete',
|
||||
data: [id]
|
||||
}).then(({ data }) => {
|
||||
@@ -274,7 +274,7 @@ export default {
|
||||
},
|
||||
handleCreateOrUpdate() {
|
||||
this.$http({
|
||||
url: '/yd-monitor/monitoring/workshopSection',
|
||||
url: this.$http.adornUrl('/monitoring/workshopSection'),
|
||||
method: this.dataForm.id ? 'put' : 'post',
|
||||
data: {
|
||||
...this.dataForm
|
||||
|
||||
Reference in New Issue
Block a user