Closed limeiwang closed 9 months ago
<Circle radius={radius} strokeColor="#fff" strokeWeight={2} center={new AMap.LngLat(position.lon, position.lat)} />
当我在umijs项目中使用 new AMap类的时候报错
@limeiwang 没有 AMap 这个对象,要么跳台了,使用了我们的高德组件 https://github.com/uiwjs/react-amap/issues/45#issuecomment-759174172
在就是首页的一处文档错误,已修改
<Circle radius={radius} strokeColor="#fff" strokeWeight={2} center={new AMap.LngLat(position.lon, position.lat)} />
当我在umijs项目中使用 new AMap类的时候报错