Commit 996cb134 authored by suhuiguang's avatar suhuiguang

let->const

parent 383999ee
...@@ -164,8 +164,8 @@ export default function marker3DFactory(WrappedComponent = 'div', options) { ...@@ -164,8 +164,8 @@ export default function marker3DFactory(WrappedComponent = 'div', options) {
} }
}; };
markerCreated = (data) => { markerCreated = (data) => {
let { isEditMode } = this.props; const { isEditMode } = this.props;
let { markersCache } = data; const { markersCache } = data;
if (markersCache.cacheMap.size > 0) { if (markersCache.cacheMap.size > 0) {
this.props.onCreated(data); this.props.onCreated(data);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment