优化MapSelector

master
LiuJiaNan 2025-12-15 17:16:42 +08:00
parent ddcbc6c05c
commit 43500d2ba7
1 changed files with 1 additions and 1 deletions

View File

@ -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);