From 47c3668aaab9d5f772c7d7e317d2bfa4b1cbeb28 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 25 九月 2023 17:49:45 +0800 Subject: [PATCH] 修改首页数据不刷新 超出预约时间提示 --- pages/tabbar-page/index-tabbar/index-tabbar.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue index 859715a..90c8b6a 100644 --- a/pages/tabbar-page/index-tabbar/index-tabbar.vue +++ b/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鐨剋s鏁版嵁'); -- Gitblit v1.9.1