jiangping
2024-07-26 a50adedd851b802b8855ed6ea47ea21a7257f00d
wechat_staff/api/index.js
@@ -331,9 +331,12 @@
  if(child){ 
    child.freshData();
  }
  const enjoyList = wx.getStorageSync('enjoyList') || [];
  var {info} = obj.data ;
  if(info){
    const enjoyList = wx.getStorageSync('enjoyList') || [];
  const index = enjoyList.findIndex( i => i.id === info.id );
   info.isEnjoy = index > -1;
   obj.setData({ info:info})   ;
}
}