husq
2023-10-08 7c14a1e6c03d1ab8ee651ffd16bc80bac2c26875
src/pages/page-web/projects/tsa.vue
@@ -322,9 +322,9 @@
}
// 获取ws连接过来的sn设备号
const snCode = ref<string[]>([])
const cesium = cesiumOperation()
// 添加机场标注
watch(() => store.state.deviceState, data => {
  const cesium = cesiumOperation(global.$viewer)
  if (snCode.value.includes(data.currentSn)) return
  snCode.value.push(data.currentSn)
  // cesium.removeAllPoint()