From 2bfffbb31c952af2005d1886351bd12fd7556018 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Thu, 13 Jun 2024 00:34:22 +0800 Subject: [PATCH] uu --- pages/tabBar/home/home.vue | 3 +++ pages/tabBar/mine/mine.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pages/tabBar/home/home.vue b/pages/tabBar/home/home.vue index fc64bf3..91aabd5 100644 --- a/pages/tabBar/home/home.vue +++ b/pages/tabBar/home/home.vue @@ -176,6 +176,9 @@ onLoad() { this.initData() }, + onShow(){ + this.initData() + }, methods: { async initData(){ this.getLatestNotices() diff --git a/pages/tabBar/mine/mine.vue b/pages/tabBar/mine/mine.vue index 95917c6..7d96a6f 100644 --- a/pages/tabBar/mine/mine.vue +++ b/pages/tabBar/mine/mine.vue @@ -154,6 +154,9 @@ onLoad() { this.initData() }, + onShow(){ + this.initData() + }, methods: { async initData(){ this.getAppHomeStatData()