如果在APP.vue中调用,用this.$scope.globalData
,如果在其他子页面调用,用getApp().globalData
小程序 this.$scope.globalData与getApp().globalData
最新推荐文章于 2024-04-23 10:04:28 发布
如果在APP.vue中调用,用this.$scope.globalData
,如果在其他子页面调用,用getApp().globalData