diff --git a/pages/article/index.js b/pages/article/index.js index d155e67..88f2d0a 100644 --- a/pages/article/index.js +++ b/pages/article/index.js @@ -39,6 +39,12 @@ Page({ } }, + onShareAppMessage (res) { + return { + title: this.data.title, + path: `/pages/article/index?id=${this.data.aId}` + } + }, /** * 生命周期函数--监听页面加载 */