From 7a77a5bac194bfd6a85dc80bebc5281fe322779b Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期五, 21 四月 2023 17:33:33 +0800
Subject: [PATCH] 在线制图,空间查询修改

---
 src/views/exportMap/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/exportMap/index.vue b/src/views/exportMap/index.vue
index 67f5c99..ed7d7bc 100644
--- a/src/views/exportMap/index.vue
+++ b/src/views/exportMap/index.vue
@@ -375,9 +375,9 @@
       for (var i in res) {
         var str = res[i];
 
-        if (str.type == 1 && this.layername.indexOf(str.id) != -1) {
+        if (str.type == 1 && str.icon == 1) {
           val.push(str)
-        } else if (str.url != null && str.type == 2 && this.layername.indexOf(str.pid) != -1) {
+        } else if (str.url != null && str.type == 2 && str.icon == 1) {
           if (str.isShow == 1) {
 
             std.push(str.id)

--
Gitblit v1.9.3