From b77f3d0be83a7265b9cc16e234f78b4faeeb3a29 Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Sat, 20 Aug 2022 14:39:38 +0800
Subject: [PATCH] 首页点击图标事件

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

diff --git a/src/components/map/index.vue b/src/components/map/index.vue
index 9da1967..b5b8fae 100644
--- a/src/components/map/index.vue
+++ b/src/components/map/index.vue
@@ -359,7 +359,7 @@
             })
 
             label.on(global.DC.MouseEventType.CLICK, (e) => {
-                if (item.dictTypeNum == 0) {
+                if (!item.dictTypeNum) {
                     that.$parent.goToJkDetail(e.overlay.attrParams)
                 } else {
                     that.$parent.goToDetail(e.overlay.attrParams)
@@ -371,7 +371,7 @@
             billboard.attrParams = item
 
             billboard.on(global.DC.MouseEventType.CLICK, (e) => {
-                if (item.dictTypeNum == 0) {
+                if (!item.dictTypeNum) {
                     that.$parent.goToJkDetail(e.overlay.attrParams)
                 } else {
                     that.$parent.goToDetail(e.overlay.attrParams)

--
Gitblit v1.9.3