张文飞 3 سال پیش
والد
کامیت
16da4cfb93
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      App.vue

+ 2 - 0
App.vue

@@ -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)
 		},