uniapp中怎么让当前页面转发

在methods中加入,

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

原文地址:https://www.cnblogs.com/a1304908180/p/13034841.html