#
luxiaotao1123
2024-10-10 09261811fd480a3528ba254ed5d30a064f29f501
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;