zy-acs-flow/src/map/MapPage.jsx | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-acs-flow/src/map/MapPage.jsx
@@ -114,11 +114,9 @@ return } switchMode(mode); }, [mode]); }, [mode, mapContainer]); const onDrop = (sprite, type, x, y) => { console.log(sprite, type, x, y); const { mapX, mapY } = Tool.getRealPosition(x, y); sprite.x = mapX; sprite.y = mapY;