From a79e85a2de679cc4886d82eb70d0b90d3e2a8861 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 08 五月 2023 09:33:51 +0800
Subject: [PATCH] 图层管理上移下移修改

---
 src/views/Synthesis/LeftMenu.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/views/Synthesis/LeftMenu.vue b/src/views/Synthesis/LeftMenu.vue
index fb4755b..a593fbf 100644
--- a/src/views/Synthesis/LeftMenu.vue
+++ b/src/views/Synthesis/LeftMenu.vue
@@ -2451,13 +2451,15 @@
         if (str.url != null && str.type == 2 && str.isShow == 1) {
           return str;
         }
+
+      })
+      var layer = std.filter((str) => {
         if (str.isProject == 1 && str.type == 2) {
           this.$store.state.isProjectLayer.push(str);
         }
       })
 
       this.setAddLayers(value);
-
       var res = this.setTreeData(val);
       this.$store.state.pigCode = null;
       //瀛樺偍閫変腑鍥惧眰
@@ -2470,7 +2472,7 @@
       //     }
       //   });
       // }
-
+      this.$store.state.oldTree = val;
       this.$store.state.treeData = res;
 
       this.$store.state.checkedKeys = checkKey;

--
Gitblit v1.9.3