智慧园区前端大屏
linwe
2024-11-11 5c86125ac72746d7b2ad46c01700f6d74ca07160
src/views/layout/components/scomponents/layersControl.vue
@@ -222,7 +222,7 @@
        layerName: 'gsgw',
        source: gsgw,
        color: DC.Color.BLUE,
        height: 1,
        height: 5,
      },
      {
        id: '6-2',
@@ -232,7 +232,7 @@
        layerName: 'wsgw',
        source: wsgw,
        color: DC.Color.BLACK,
        height: 2,
        height: 10,
      },
      {
        id: '6-3',
@@ -242,7 +242,7 @@
        layerName: 'rqgw',
        source: rqgw,
        color: DC.Color.RED,
        height: 3,
        height: 15,
      },
      {
        id: '6-4',
@@ -252,7 +252,7 @@
        layerName: 'ysgw',
        source: ysgw,
        color: DC.Color.CYAN,
        height: 4,
        height: 20,
      },
    ]
@@ -399,7 +399,7 @@
          item.source.features.forEach(i => {
            let polylineVolume = new DC.PolylineVolume(
              i.geometry.coordinates.map(d => [d[0], d[1], 0.0].join(',')).join(';'),
              i.geometry.coordinates.map(d => [d[0], d[1], item.height].join(',')).join(';'),
              computeCircle(0.3)
            )
@@ -429,9 +429,9 @@
}
onMounted(() => {
  // handleCheckChange(data.filter(i => i.id == '1'), {
  //   checkedKeys: ['1']
  // })
  handleCheckChange(data.filter(i => i.id == '1'), {
    checkedKeys: ['1']
  })
})
onUnmounted(() => {