@@ -48,10 +48,12 @@
},
onShow: function() {
let token = this.$cache.get('_token_owner_union');
+ let userId = this.$cache.get('_user_id')
if (!token) {
this.regist();
} else {
this.globalData.token = token;
+ this.globalData.userId = userId;
}
document.body.style.setProperty("background-color",this.globalData.color4)