2 个回答

最好在使用的地方再调用 const app = getApp()

在 var that = this;下面打印一下app.globalData看下输出的结果。

推荐问题