zouyaoji / vue-cesium

🎉 Vue 3.x components for CesiumJS.
https://zouyaoji.top/vue-cesium
MIT License
1.43k stars 312 forks source link

[Bug Report] VcMeasurements组件areaMeasurementOpts的参数同时配置showAngleLabel和showDistanceLabel为false报错 #518

Closed terry-wn closed 4 months ago

terry-wn commented 4 months ago

VueCesium version

3.2.5

OS/Browsers version

121

Vue version

3.4.15

Cesium version

1.114.0

Reproduction Link

https://codepen.io/terry_wn/pen/xxBeNrz

Steps to reproduce

https://codepen.io/terry_wn/pen/xxBeNrz

What is Expected?

VcMeasurements组件areaMeasurementOpts的参数同时配置showAngleLabel和showDistanceLabel为false不报错

What is actually happening?

VcMeasurements组件areaMeasurementOpts的参数同时配置showAngleLabel和showDistanceLabel为false报错 TypeError: Cannot set properties of undefined (setting 'horizontalOrigin')

zouyaoji commented 4 months ago

收到,先mark,有消息了再回复。

zouyaoji commented 4 months ago

已重现,将在3.2.6版本修复。