small-program/App.vue
@@ -7,7 +7,6 @@ }, onLaunch: function() { var that = this; that.getLocaltionBiz() if (!this.openid || this.openid =='') { uni.login({ provider: 'weixin', @@ -33,9 +32,15 @@ } }) } uni.showShareMenu({ withShareTicket: true, menus: ['shareAppMessage', 'shareTimeline'] }) }, onShow: function() { console.log('App Show') this.getLocaltionBiz() }, onHide: function() { console.log('App Hide')