【类 型】:fix 显示飞机状态 飞机高度显示为相对高度

【原  因】:
【过  程】:
【影  响】:之前是显示的海拔高度

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-08-20 11:45:49 +08:00
parent a4bdba19b0
commit 6be5fc0c76

View File

@ -150,7 +150,7 @@ export default {
// //
positionAlt () { positionAlt () {
if (this.plane && this.plane.planeState) { if (this.plane && this.plane.planeState) {
return this.plane.planeState.positionAlt return this.plane.planeState.position[0][2]
} }
return null return null
}, },
@ -199,6 +199,9 @@ export default {
}, },
created () { created () {
},
destroyed () {
clearInterval(this.isOnlineSetTimeout)
} }
} }
</script> </script>