#
luxiaotao1123
2024-03-25 7f56a5e2cd30276f1d3ee792384fb51586c05d51
#
2个文件已修改
6 ■■■■ 已修改文件
zy-asrs-flow/src/pages/map/batch/modify.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/utils.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/batch/modify.jsx
@@ -28,8 +28,11 @@
        if (batchSprites?.length > 0) {
            // loading
            batchSprites.forEach(sprite => {
                console.log(sprite);    // ?? why shelfType be undefined
                if (sprite.data?.type === Utils.SENSOR_TYPE.SHELF) {
                    if (values.shelfType !== null) {
                        sprite.data.shelfType = values.shelfType;
                        console.log(sprite.data);
                    }
                    if (values.top !== null) {
                    }
zy-asrs-flow/src/pages/map/utils.js
@@ -369,7 +369,6 @@
                sprite.scale.set(item.scaleX, item.scaleY);
                sprite.rotation = rotationParseNum(item.rotation);
                // sprite.tint = '#000';
                mapContainer.addChild(sprite);
            }
        })
@@ -490,6 +489,8 @@
    }
    if (showColor) {
        sprite.tint = showColor;
    } else {
        sprite.tint = 0xFFFFFF;  // recovery
    }
    return showColor;
}