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; } @@ -500,4 +501,12 @@ resolve(true); }, time); }); }; }; export const isNullOfUndefined = (param) => { if (null === param || undefined === param) { return true; } else { return false; } }