From 43500d2ba7f06514a737310b827dbb4f1cafc85b Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Mon, 15 Dec 2025 17:16:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96MapSelector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Map/MapSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Map/MapSelector.js b/components/Map/MapSelector.js index 2e21536..3dcd4d7 100644 --- a/components/Map/MapSelector.js +++ b/components/Map/MapSelector.js @@ -36,7 +36,7 @@ const MapSelector = (props) => { // 初始化地图 const initMap = async () => { if (!window.BMapGL) { - await dynamicLoadJs("https://api.map.baidu.com/api?v=1.0&type=webgl&ak=OElqFYoKiAH8KFtph8ftLKF5NlNrbCUr"); + await dynamicLoadJs("https://api.map.baidu.com/api?v=1.0&type=webgl&ak=OElqFYoKiAH8KFtph8ftLKF5NlNrbCUr&callback=initialize"); } setLoading(true);