#
luxiaotao1123
2024-04-10 29af9f4ce47416f94d58ebffa7405dbeb8701244
zy-asrs-flow/src/pages/map/utils.js
@@ -321,7 +321,7 @@
        return
    }
    const { width, height } = sprite;
    const scale = sprite.scale.x;
    const scale = sprite?.scale.x;
    const sideLen = (Math.max(width, height) + 10) * scale;
    const scaledWidth = sideLen * (1 / scale);
    const scaledHeight = sideLen * (1 / scale);