small-program/App.vue @@ -4,7 +4,8 @@ computed: { ...mapState(['userInfo','openid']) }, onLaunch: function() { onLaunch: function() { console.log(ua) var that = this; if (!this.openid || this.openid =='') { uni.login({