zy-asrs-flow/src/pages/map/index.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-asrs-flow/src/pages/map/index.jsx
@@ -84,7 +84,8 @@ const prevCurSpriteRef = React.useRef(); // init func React.useEffect(async () => { React.useEffect(() => { const initialize = async () => { player = new Player(mapRef.current, styles.dark, didClickSprite); setApp(player.app); setMapContainer(player.mapContainer); @@ -104,6 +105,8 @@ setTimeout(() => { player.adaptScreen(); }, 200) } initialize(); }, []); // resize