Commit 5a5cb2df5f7081a4e5777ea2937798b1627bf3a9
1 parent
2b026f32
user_id的优化
Showing
1 changed file
with
2 additions
and
0 deletions
app.js
... | ... | @@ -196,8 +196,10 @@ App({ |
196 | 196 | if (modelmes && modelmes.indexOf('iPhone X') != -1) { //XS,XR,XS MAX均可以适配,因为indexOf()会将包含'iPhone X'的字段都查出来 |
197 | 197 | this.globalData.isIpx = true |
198 | 198 | } |
199 | + this.globalData.navBarHeight = 44 + res.statusBarHeight | |
199 | 200 | }, |
200 | 201 | }) |
202 | + this.globalData.menuInfo = wx.getMenuButtonBoundingClientRect() || {} | |
201 | 203 | |
202 | 204 | var th = this; |
203 | 205 | var pages = getCurrentPages(); //获取加载的页面 | ... | ... |