派生自 wuyushui/SewerAndRainNetwork

zhangshuaibao
2021-03-31 393b2243412842c293c6f633fc327f80bef55c98
Merge remote-tracking branch 'origin/develop' into develop
1个文件已修改
8 ■■■■■ 已修改文件
src/components/panel/ToolBoxPanel.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/panel/ToolBoxPanel.vue
@@ -290,7 +290,6 @@
      if (this.drawLayer == null) {
        this.drawLayer = this.L.layerGroup().addTo(this.map)
      }
      this.active = index
      // this.isShow[index] = !this.isShow[index]
      // this.isShow[index - 1] = !this.isShow[index - 1]
      // if (this.checkbutton === index) {
@@ -307,9 +306,12 @@
      // console.log(this.isShow[index - 1])
      console.log(this.basemapList)
      for (let i = 0; i < this.isShow.length; i++) {
        this.isShow[i] = false
        if (i !== index) {
          this.isShow[i] = false
        }
      }
      this.isShow[index] = true
      this.isShow[index] = !this.isShow[index]
      this.isShow[index] ? (this.active = index) : (this.active = '')
    },
    choiceItem (itemT, indexT) {
      this.Selecd = indexT