From 89cb569c4b387ef67513e53673cb013f0897d816 Mon Sep 17 00:00:00 2001 From: limingyu Date: Sat, 13 Apr 2024 09:47:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=B6=88=E9=98=B2=E7=82=B9=E4=BD=8D?= =?UTF-8?q?=E5=9D=90=E6=A0=87=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 7 ++ .../firefighting/points/components/edit.vue | 104 +++++++++++++++++- static/maplocation.html | 12 +- 3 files changed, 114 insertions(+), 9 deletions(-) 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..c61895c 100644 --- a/src/views/firefighting/points/components/edit.vue +++ b/src/views/firefighting/points/components/edit.vue @@ -135,7 +135,7 @@ -
+