想分享首页却提示首页不能分享
首页js里加上onShareAppMessage方法
onShareAppMessage: function(e) {
return {
title: “xxxx”,
path: “pages/index/index”
imageUrl: ‘xxxxxxxxx’
}