During the sharing process through WeChat JSSDK, wx.config was successfully called. The custom processing of "send to friends" was registered in the wx.ready callback
wx.onMenuShareAppMessage
({
title : iOption.title,
desc : iOption.desc,
link : stShareLink,
imgUrl : iOption.imgUrl,
success : iOption.success,
cancel : iOption.cancel
});
After entering this page, if you click "Send to Friends" immediately, the shared information sent will not display the specified sharing image, nor will it display the description information. You have to wait 5 seconds and click "Send to Friend" before the shared image and description content can be displayed correctly. May I ask where the problems are?
Use WeChat developer tools to debug and see if there is any delay when calling this API. If not, check to see if the image resource pointed to is too large. Generally, a 200px square image should be very small.