![](https://img-blog.csdnimg.cn/img_convert/17eea5f7f44a745aa7782efae7a87462.png)
![](https://img-blog.csdnimg.cn/img_convert/60613091ddd4dde209267badb6b1926c.png)
onShareAppMessage: function (res) {
if (res.from === 'button') {
// 来自页面内转发按钮
// console.log(res.target)
return {
title: this.data.mingpianname + '的名片',
path: '/pages/index/index',
}
}
}