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