Home > front end >  WeChat applet onshareappmessage carry two parameters to share, but can only obtain a parameter in th
WeChat applet onshareappmessage carry two parameters to share, but can only obtain a parameter in th

Time:10-17

OnShareAppMessage: function () {
var that=this;
Return {
Title: that data. MainData. Title,
Path: '/packageB/pages/ticket_detail/ticket_detail? Id='+ that. Data. MainData. Id +' & amp; Code='+ that. Data. Invite_code,
ImageUrl: that data. MainData. Picture,
Success: the function (res) {
The console. The log (res, 'share')
}
}
},
In the jump page onl oad print options can print out the id and code, but the print options. The code is undefined
  • Related