直接写在app.js里全局通用。
onLaunch(e) {
var that = this
wx.getSystemInfo({
success:function(res){
that.globalData
直接写在app.js里全局通用。
onLaunch(e) {
var that = this
wx.getSystemInfo({
success:function(res){
that.globalData