在methods中加入,
onShareAppMessage: function(e) {
let title = 'xxx小程序'
return {
title: title,
path: 'pages/index/index'
}
}
在methods中加入,
onShareAppMessage: function(e) {
let title = 'xxx小程序'
return {
title: title,
path: 'pages/index/index'
}
}