From 677c7cccbfc1f4f4413251ffb467da0c8306e297 Mon Sep 17 00:00:00 2001 From: lqq Date: Fri, 8 Nov 2019 16:45:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=86=E4=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/article/index.js | 6 ++++++ 1 file changed, 6 insertions(+) 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}` + } + }, /** * 生命周期函数--监听页面加载 */