Sfoglia il codice sorgente

Merge branch 'master' of dq/kmall-pt into master

黄亚琴 6 anni fa
parent
commit
aafe655ff5
1 ha cambiato i file con 0 aggiunte e 7 eliminazioni
  1. 0 7
      wx-mall/pages/map/map.js

+ 0 - 7
wx-mall/pages/map/map.js

@@ -79,13 +79,6 @@ Page({
   markersClick: function(res) {
     console.log(res);
     let that = this;
-    if (res.markerId == 0) {
-      that.setData({
-        isShow: false
-      });
-      return;
-    }
-
     let marker = that.data.markers[res.markerId];
     that.setData({
       isShow: true,