diff --git a/config/index.js b/config/index.js index df43f78..f15bf6e 100644 --- a/config/index.js +++ b/config/index.js @@ -16,6 +16,13 @@ module.exports = { pathRewrite: { '^/api': '' } + }, + '/mapapi/': { + target: 'http://192.168.192.215:8021/', + changeOrigin: true, + pathRewrite: { + '^/mapapi/': '' + } } }, diff --git a/src/views/firefighting/points/components/edit.vue b/src/views/firefighting/points/components/edit.vue index 7f15396..9f1ca74 100644 --- a/src/views/firefighting/points/components/edit.vue +++ b/src/views/firefighting/points/components/edit.vue @@ -135,7 +135,7 @@ -
+