From c76bba5af4d26ca148f02a214da527f9811b8a38 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 10:26:03 +0800
Subject: [PATCH] 提交
---
wechat_staff/api/index.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
index 73a6bac..37d73b8 100644
--- a/wechat_staff/api/index.js
+++ b/wechat_staff/api/index.js
@@ -331,4 +331,9 @@
if(child){
child.freshData();
}
+ const enjoyList = wx.getStorageSync('enjoyList') || [];
+ var {info} = obj.data ;
+ const index = enjoyList.findIndex( i => i.id === info.id );
+ info.isEnjoy = index > -1;
+ obj.setData({ info:info}) ;
}
\ No newline at end of file
--
Gitblit v1.9.3