pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -171,11 +171,11 @@ }, onShow() { this.init(); console.log(this.globalisconnect); if (this.globalisconnect) { this.$store.dispatch('websocketInit') this.changeisconnect(false) console.log(this.globalisconnect, 'index的ws心事’'); this.$store.commit('changeisLogin', true) console.log(this.globalisconnect, 'index的ws数据'); } this.userAuthorization(); this.messageReq();