From f84514b4823d61381cfbb80edc2c3bec7c865952 Mon Sep 17 00:00:00 2001 From: zhangjing1 Date: Fri, 24 Oct 2025 16:50:24 +0800 Subject: [PATCH] bug(custom): eCX-7421 --- src/subpages/member/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/subpages/member/index.js b/src/subpages/member/index.js index c325f1ae3..d1133abb4 100644 --- a/src/subpages/member/index.js +++ b/src/subpages/member/index.js @@ -105,7 +105,8 @@ const initialState = { loading: true, shareInfo: {}, footerHeight: 0, - pageData: null + pageData: null, + shareInfo: {} } function MemberIndex(props) { @@ -168,6 +169,7 @@ function MemberIndex(props) { }) const url = `/pageparams/setting?${pathparams}` const { config = [], share } = await req.get(url) + console.log('🚀🚀🚀 ~ fetchWgts ~ config:', config,share) const pageData = config.find((wgt) => wgt.name == 'page') setState((draft) => { draft.wgts = config @@ -200,8 +202,8 @@ function MemberIndex(props) { distributor_id: 0 }) return { - title: share_title, - imageUrl: share_pic_wechatapp || logo, + title: state.shareInfo.page_share_title || share_title, + imageUrl: state.shareInfo.page_share_imageUrl || share_pic_wechatapp || logo, path: '/pages/index' } })