From d7920424b7997ed2a39e0fb19462531cfc0ed645 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期二, 13 六月 2023 16:27:02 +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 0f8b46d..8c74e75 100644
--- a/src/views/exportMap/index.vue
+++ b/src/views/exportMap/index.vue
@@ -383,9 +383,9 @@
       for (var i in res) {
         var str = res[i];
 
-        if (str.type == 1 && str.icon == 1) {
+        if (str.type == 1) {
           val.push(str)
-        } else if (str.url != null && str.type == 2 && str.icon == 1) {
+        } else if (str.url != null && str.type == 2 && str.serveType == 'WMS') {
           if (str.isShow == 1) {
 
             std.push(str.id)

--
Gitblit v1.9.3