pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -124,8 +124,10 @@ clearInterval(this.globalIntervalId); this.changeisconnect(false) }, onLoad() { onShow() { this.init(); }, onLoad() { this.$store.dispatch('websocketInit') this.$store.commit('changeisLogin', true) console.log(this.globalisconnect, 'index的ws数据');