From 1a6905045d38bb50b0c6554c3440bdfd339c8d23 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 30 七月 2024 19:13:46 +0800
Subject: [PATCH] ‘’

---
 wechat_staff/pages/discover/discover.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/wechat_staff/pages/discover/discover.js b/wechat_staff/pages/discover/discover.js
index 64a68ad..787305e 100644
--- a/wechat_staff/pages/discover/discover.js
+++ b/wechat_staff/pages/discover/discover.js
@@ -1,4 +1,4 @@
-import { getCataLogTagList, getCatalogList } from '../../api/index'
+import { getCataLogTagList, getCatalogList,refreshEnjoy } from '../../api/index'
 const { HYEventBus } = require('hy-event-store')
 const eventBus = new HYEventBus()
 Page({
@@ -18,7 +18,10 @@
     let menuButtonInfo = wx.getMenuButtonBoundingClientRect();
     this.setData({menuButtonInfo})
   }, 
-  onShow() {
+  
+  onShow(){
+    console.log('onShow')
+    refreshEnjoy(this) 
     let discoverKey = wx.getStorageSync('discoverKey') || ''
     if(discoverKey){
       this.setData({ catalogCode: discoverKey })

--
Gitblit v1.9.3