const valueJSON = JSON.parse(value);
const title = valueJSON.name;
const address = valueJSON.address;
wx.updateAppMessageShareData({
title: `${title}`,
desc: `${title}\n${address}`,
link: window.location.href,
imgUrl: '',
})
// 分享成功后title,desc均显示为null
// JS-SDK版本为1.6
你写好放进去不就行了,或者你拿到的就是null