Home > front end >  Uniapp how to implement share more pictures to WeChat buddy
Uniapp how to implement share more pictures to WeChat buddy

Time:11-27

If (e.i ndex==0) {
Let weixin='
For (var I=0; iWeixin=this. ShareImage [I];
Uni. Share ({
The provider: "weixin",
Scene: "WXSceneSession,"
Type: 2,
ImageUrl: weixin,
Success: the function (res) {
console.log("success:" + JSON.stringify(res));
},
Fail: function (err) {
console.log("fail:" + JSON.stringify(err));
}
});
}}


Using a for loop has a problem can only send a,,,,
  • Related