surprise
2024-01-10 8f85627f215bd0ee61db7a35ca9a83eaca1e892c
src/components/left/layerTree/Layer.vue
@@ -630,6 +630,12 @@
        } else {
          mapOL.removeLayerData(treeNode);
        }
      }else if(treeNode.sourceType == "DrawGrid"){
        if (isCheck) {
          mapGeo.addGridLayer(treeNode);
        } else {
          mapGeo.delGridLayer(treeNode);
        }
      }
      // 只能同时加载一个地形
      if (
@@ -1001,6 +1007,9 @@
      if (this.selectNode.sourceType === "imgUp") {
        this.removeimgUpData(this.selectNode)
      }
      if (this.selectNode.sourceType === "DrawGrid") {
        mapGeo.removeGridData(this.selectNode)
      }
      this.remove(this.selectNode);
      this.$refs.tree && this.$refs.tree.setCurrentKey(null);
      this.selectNode = undefined;