diff --git a/src/components/CesiumMap/skyBoxOnGround.js b/src/components/CesiumMap/skyBoxOnGround.js index ea4aa89..e20ae80 100644 --- a/src/components/CesiumMap/skyBoxOnGround.js +++ b/src/components/CesiumMap/skyBoxOnGround.js @@ -86,7 +86,7 @@ export default class SkyBoxOnGround { * @type {Boolean} * @default true */ - this.show = defaultValue(options.show, true); + this.show = options.show ?? true; this._command = new DrawCommand({ modelMatrix: Matrix4.clone(Matrix4.IDENTITY),