map/index.js
@@ -90,8 +90,6 @@ ] }, onLoad: function (options) { // console.log(wx.getSystemInfoSync()) // console.log(wx.getSystemInfoSync().windowHeight * 0.2 * -1 - 10) var userInfo = app.globalData.userInfo; // console.log(userInfo) if (userInfo) { @@ -111,6 +109,14 @@ // this.getRepairFormList(); }, onReady: function () {}, onShow(){ if (typeof this.getTabBar === 'function' && this.getTabBar()) { this.getTabBar().setData({ selected: 2 }) } }, //展示所有marker标点的视野 setIncludePoints() { var MapContext = wx.createMapContext('detailMap');