guonan
10 天以前 b6ab34b586ee40b552fa64815148f58935e789ea
src/utils/map.js
@@ -200,11 +200,11 @@
    if (Cesium.defined(picked) && id) {
      const entity = picked?.id;
      const simStore = useSimStore()
      if (entity && !simStore.openDia && entity.attrs.type == '泥位计') {
      if (entity && entity.attrs && !simStore.openDia && entity.attrs.type && entity.attrs.type == '泥位计') {
        let obj = {
          deviceName: entity.attrs.deviceName,
          latitude: entity.attrs.latitude,
          longitude: entity.attrs.longitude
          latitude: entity.attrs.lat,
          longitude: entity.attrs.lon
        }
        simStore.selectNWJ = obj
        showDeviceDetail.value = false;