#
luxiaotao1123
2024-12-09 3392c554a5e76a75a1daf4a9261be0d794043b5d
zy-acs-flow/src/map/http.js
@@ -14,7 +14,7 @@
    mapContainer = param;
}
export const fetchMapData = (zoneId, setRcsStatus) => {
export const fetchMapData = (zoneId, setRcsStatus, setCurSprite) => {
    Tool.clearMapData();
    return request.post('/map/data/fetch', {
        zoneId: zoneId
@@ -49,7 +49,7 @@
                        // support
                        switch (item.type) {
                            case DEVICE_TYPE.POINT:
                                sprite.scale.set(0.85, 0.85);
                                sprite.scale.set(1);
                                break
                            default:
                                break
@@ -57,6 +57,7 @@
                        // }, 50);
                        mapContainer.addChild(sprite);
                        Tool.beInsight(sprite, setCurSprite);
                    }
                }
            })