Browse Source

登录后从新加载就请求一次用户状态

master
liaoxinyu 2 years ago
parent
commit
b7c3a51759
  1. 4
      App.vue

4
App.vue

@ -171,6 +171,10 @@ export default {
mounted() {
//
document.addEventListener('visibilitychange', this.handleVisibilityChange);
//
if (this.isLogin){
this.sendHeartbeat()
}
//
this.startHeartbeat();
},

Loading…
Cancel
Save