收藏
回答

es6某些语法开发者工具无法通过编译

框架类型 问题类型 操作系统 工具版本
小程序 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;

}

})



回答关注问题邀请回答
收藏

2 个回答

  • waterfall
    waterfall
    2019-07-17

    哥,ALT+SHIFT+F 整理下代码好伐

    2019-07-17
    有用
    回复
  • 铭锋科技
    铭锋科技
    2019-07-17

    明显打错了呀

    success: e  = >


    success: e =>



    2019-07-17
    有用
    回复 2
登录 后发表内容