Home > front end >  Small program to share with parameters
Small program to share with parameters

Time:10-01

WXML part

js part
OnShareAppMessage: function (e) {
Return {
Title: '* * * * *,
Path: "pages/index/index? Id="+ 1 +" & amp; Popenid="+ 2,
Success: the function (res) {
//forward success
The console. The log (' forward success ')
},
Fail: function (res) {
//forward failure
The console. The log (' forward failure)
}
}
},
receiving share with parameter
OnLoad: function (options) {
The console. The log (options)
}
  • Related