From 9b4c9854d5b179e335b34e4c5a4f3562a4cfe509 Mon Sep 17 00:00:00 2001
From: duzhichao <1098974448@qq.com>
Date: Sun, 4 Jan 2026 21:14:32 +0800
Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E8=AE=BE=E5=A4=87=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E6=B7=BB=E5=8A=A0=E7=BB=8F=E7=BA=AC=E5=BA=A6=E4=BB=A5?=
=?UTF-8?q?=E5=8F=8A=E9=AB=98=E5=BA=A6=E5=92=8C=E7=A7=9F=E6=88=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/MapContainer/3d/hooks/useTilesetLoader.ts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/zlt-web/yingyan/src/pages/map3d/components/MapContainer/3d/hooks/useTilesetLoader.ts b/zlt-web/yingyan/src/pages/map3d/components/MapContainer/3d/hooks/useTilesetLoader.ts
index f9f87898..6b177598 100644
--- a/zlt-web/yingyan/src/pages/map3d/components/MapContainer/3d/hooks/useTilesetLoader.ts
+++ b/zlt-web/yingyan/src/pages/map3d/components/MapContainer/3d/hooks/useTilesetLoader.ts
@@ -93,12 +93,12 @@ export const useTilesetLoader = (): UseTilesetLoaderResult => {
});
try {
- // 处理跨域问题:非 localhost 访问时将 CDN URL 转换为代理路径
+ // 处理跨域问题:开发环境 (localhost) 将 CDN URL 转换为代理路径
let tilesetUrl = config.url;
const isLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1';
- if (!isLocalhost && tilesetUrl.includes('minicdn.goflytec.com')) {
+ if (isLocalhost && tilesetUrl.includes('minicdn.goflytec.com')) {
tilesetUrl = tilesetUrl.replace('https://minicdn.goflytec.com', '');
- console.log('[Tileset] 使用代理路径:', tilesetUrl);
+ console.log('[Tileset] 开发环境使用代理路径:', tilesetUrl);
}
// 创建3DTileset - 高清晰度渲染配置
From 9a50476c62cc7aca69767e15c2fdf7c724076e0a Mon Sep 17 00:00:00 2001
From: duzhichao <1098974448@qq.com>
Date: Sun, 4 Jan 2026 21:27:53 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=E5=8E=BB=E6=8E=89=E6=97=A0?=
=?UTF-8?q?=E7=94=A8=E9=A1=B9=E7=9B=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
zlt-web/pom.xml | 2 --
1 file changed, 2 deletions(-)
diff --git a/zlt-web/pom.xml b/zlt-web/pom.xml
index 9d4db8b5..0c037918 100644
--- a/zlt-web/pom.xml
+++ b/zlt-web/pom.xml
@@ -13,8 +13,6 @@
pom
-
- layui-web
react-web