@canmou/react-tmap-map
Advanced tools
+2
-2
| { | ||
| "name": "@canmou/react-tmap-map", | ||
| "version": "1.0.13", | ||
| "version": "1.0.14", | ||
| "description": "用于加载腾讯地图SDK依赖,加载完成,全局将会有**`window.TMap`**对象。", | ||
@@ -27,3 +27,3 @@ "main": "cjs/index.js", | ||
| }, | ||
| "gitHead": "6ac39627dc5fd5fe1b7e819d0644b2dd22235a1b" | ||
| "gitHead": "3c7ef47c8b91193a2ad4e2f185a5f9eecd502b5c" | ||
| } |
+0
-1
@@ -22,3 +22,2 @@ /// <reference types="@canmou/react-tmap-types" /> | ||
| useEffect(() => setContainer(elmRef.current), [elmRef.current]); | ||
| // ddd | ||
| useImperativeHandle(ref, () => ({ ...props, map, TMap, container: elmRef.current }), [map]); | ||
@@ -25,0 +24,0 @@ const childs = Children.toArray(children); |
Sorry, the diff of this file is not supported yet
12329
-49.94%7
-12.5%329
-0.3%