problem description
Wechat shares, unable to customize information. There is nothing wrong with debug, everything is fine. The transmission value is also normal. Change
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
jsApiList: [
"checkJsApi",//JS
"onMenuShareTimeline",//
"onMenuShareAppMessage",//
"onMenuShareQQ",//QQ
"onMenuShareWeibo",//
"onMenuShareQZone"//
] // JSJS2
});
window.share_config = {
"share": {
"title" : msg.title,//
"desc" : msg.desc,//,
"link": msg.link,//
"imgUrl": msg.imgUrl,//"http://"
"type": msg.type, // ,musicvideolinklink
"dataUrl": msg.dataUrl, // typemusicvideo
"success":function(){//
},
"cancel": function () {
//
}
}
};
//
wx.ready(function(){
wx.onMenuShareAppMessage(share_config.share);//
wx.onMenuShareTimeline(share_config.share);//
wx.onMenuShareQQ(share_config.share);//QQ
wx.onMenuShareWeibo(share_config.share);//
wx.onMenuShareQZone(share_config.share);//
debugging and sharing in Wechat development tools are normal and no errors are reported.
changing type to music or video style will also change.
changing address will also change. But the contents of title and desc and pictures cannot be displayed properly
what result do you expect? What is the error message actually seen?
how to make it display normally?