diff --git a/packages/map/src/mapBox/MapBox.tsx b/packages/map/src/mapBox/MapBox.tsx index 5ecab11..061aa0c 100644 --- a/packages/map/src/mapBox/MapBox.tsx +++ b/packages/map/src/mapBox/MapBox.tsx @@ -134,6 +134,7 @@ const MapBox = forwardRef((props, ref) => { // 默认绘制配置 const [drawConfig] = useState({ + // @ts-ignore displayControlsDefault: false, position: 'top-left', @@ -212,6 +213,7 @@ const MapBox = forwardRef((props, ref) => { )} {/* ---------------绘制图层--------------------- */} {draw && ( + // @ts-ignore