From f97c7964a89558efa60fe7c193466d64cbe8778a Mon Sep 17 00:00:00 2001 From: yyy <2605810609@qq.com> Date: Wed, 7 May 2025 09:31:38 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.local | 2 +- src/views/mapPage/realTimeMap/editMap.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.local b/.env.local index 2d26cfc9..5ed78b10 100644 --- a/.env.local +++ b/.env.local @@ -6,7 +6,7 @@ VITE_DEV=true # 请求路径 # VITE_BASE_URL='http://192.168.0.74:48080' # VITE_BASE_URL='http://192.168.0.153:48080' -VITE_BASE_URL='http://192.168.0.45:48080' +VITE_BASE_URL='http://10.10.110.17:48080' # 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持 S3 服务 VITE_UPLOAD_TYPE=server diff --git a/src/views/mapPage/realTimeMap/editMap.vue b/src/views/mapPage/realTimeMap/editMap.vue index 40542f84..60600292 100644 --- a/src/views/mapPage/realTimeMap/editMap.vue +++ b/src/views/mapPage/realTimeMap/editMap.vue @@ -3073,7 +3073,7 @@ const getAllNodeList = async () => { item.rotatable = false item.lockAspectRatio = true } else if (item.type === 5) { - item.dataObj = JSONBigInt({ storeAsString: true }).parse(item.dataJson) + item.dataObj = item.dataJson ? JSONBigInt({ storeAsString: true }).parse(item.dataJson) : {} item.dataList = [] item.locationDeep = 150 item.locationWide = 150