diff --git a/components/Map/MapSelector.js b/components/Map/MapSelector.js
index d228c02..aeace24 100644
--- a/components/Map/MapSelector.js
+++ b/components/Map/MapSelector.js
@@ -1,5 +1,6 @@
import { Button, Col, Form, Input, Modal, Row, Select, Spin } from "antd";
import { useEffect, useRef, useState } from "react";
+import { dynamicLoadJs } from "../../utils";
/**
* 定位组件弹窗
@@ -33,6 +34,8 @@ const MapSelector = (props) => {
// 初始化地图
const initMap = async () => {
+ await dynamicLoadJs("https://api.map.baidu.com/api?v=1.0&type=webgl&ak=OElqFYoKiAH8KFtph8ftLKF5NlNrbCUr");
+
if (!window.BMapGL) {
console.error("BMapGL is not loaded");
return;
diff --git a/components/Map/index.js b/components/Map/index.js
index 04c930f..27c4990 100644
--- a/components/Map/index.js
+++ b/components/Map/index.js
@@ -45,11 +45,14 @@ const Map = (props) => {
-