when I add open-type= "share"
to the button, then print the result in the successful callback in the onShareAppMessage
method as follows:
return {
title: "",
path: "page/show/pages/detail/detail",
imageUrl: img,
success: function(res) {
console.log(res)
console.log(111)
},
fail: function(res) {
console.log(res)
}
}
Neither the forwarding of the button nor the forwarding callback in the upper right corner takes effect.