Commit d8a0564aebff4e8a78b72bbb0db35e92f823b12d

Authored by wangfan
1 parent 5c82de60

地图优化--全量覆盖

@@ -453,12 +453,12 @@ Page({ @@ -453,12 +453,12 @@ Page({
453 } 453 }
454 }) 454 })
455 this.setData(obj) 455 this.setData(obj)
456 - if(now_sid.length>0 && now_sid._indexOf(this.activeSellerID)<0){  
457 - setTimeout(()=>{ 456 + if(now_sid.length>0) {
  457 + setTimeout(() => {
458 this.markertap({ 458 this.markertap({
459 - markerId:now_sid[0]  
460 - },true)  
461 - },100) 459 + markerId: now_sid._indexOf(this.activeSellerID) < 0?now_sid[0]:this.activeSellerID
  460 + }, true)
  461 + }, 100)
462 } 462 }
463 }) 463 })
464 464
@@ -8,7 +8,15 @@ @@ -8,7 +8,15 @@
8 "newFeature": true, 8 "newFeature": true,
9 "nodeModules": true, 9 "nodeModules": true,
10 "autoAudits": false, 10 "autoAudits": false,
11 - "checkInvalidKey": true 11 + "uglifyFileName": false,
  12 + "checkInvalidKey": true,
  13 + "checkSiteMap": true,
  14 + "uploadWithSourceMap": true,
  15 + "babelSetting": {
  16 + "ignore": [],
  17 + "disablePlugins": [],
  18 + "outputPath": ""
  19 + }
12 }, 20 },
13 "compileType": "miniprogram", 21 "compileType": "miniprogram",
14 "libVersion": "2.4.2", 22 "libVersion": "2.4.2",