问题模块 | 框架类型 | 问题类型 | 操作系统 | 工具版本 |
---|---|---|---|---|
开发者工具 | 小程序 | Bug | Windows | stable 1.02.1907160 |
wx.getSystemInfo({
success: e = > {
this.globalData.StatusBar = e.statusBarHeight;
this.globalData.CustomBar = e.platform == 'android' ? e.statusBarHeight + 50 : e.statusBarHeight + 45;
}
})
网友回复
铭锋科技:
明显打错了呀
success: e = >
success: e =>
waterfall:
哥,ALT+SHIFT+F 整理下代码好伐