fix(tsconfig): 修改ts提示
This commit is contained in:
parent
91ba49d94c
commit
e44fa64760
@ -134,6 +134,7 @@ const MapBox = forwardRef<MapRefProps, MapProps>((props, ref) => {
|
||||
|
||||
// 默认绘制配置
|
||||
const [drawConfig] = useState<DrawControlProps>({
|
||||
// @ts-ignore
|
||||
displayControlsDefault: false,
|
||||
position: 'top-left',
|
||||
|
||||
@ -212,6 +213,7 @@ const MapBox = forwardRef<MapRefProps, MapProps>((props, ref) => {
|
||||
)}
|
||||
{/* ---------------绘制图层--------------------- */}
|
||||
{draw && (
|
||||
// @ts-ignore
|
||||
<DrawControl
|
||||
ref={drawControlRef}
|
||||
onCreate={onDrawCreate}
|
||||
|
Loading…
Reference in New Issue
Block a user