From 2f2db855288b855618bdd07f859545985a4bdf52 Mon Sep 17 00:00:00 2001 From: guonan <guonan201020@163.com> Date: 星期四, 01 五月 2025 17:09:50 +0800 Subject: [PATCH] 添加选区名称 --- vue.config.js | 4 ++-- src/store/simAPI.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/store/simAPI.js b/src/store/simAPI.js index 7475b62..2cf0b7c 100644 --- a/src/store/simAPI.js +++ b/src/store/simAPI.js @@ -58,6 +58,7 @@ try { const params = { geom: forms.geom.value, + areaName: forms.geom.label, areaType: getAreaType(selectTab.value), createTime: Date.now(), name: forms.name, diff --git a/vue.config.js b/vue.config.js index dc291de..54216e7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -21,8 +21,8 @@ hot: true, proxy: { '/api': { - target: 'http://192.168.56.107:8077', - // target: 'http://192.168.1.104:8078', + // target: 'http://192.168.56.107:8077', + target: 'http://192.168.1.104:8078', changeOrigin: true, // pathRewrite: { // '^/api': '' -- Gitblit v1.9.3