From b7fd27a4a7ac72eef5fc142cae9bb63fe69ef233 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 22 七月 2024 15:34:47 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/pages/consult/detail.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index c1b46f0..a1462ae 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -7,6 +7,7 @@
data: {
bottomLift: 0,
info: {},
+ detail: {},
showShare: false
},
@@ -23,7 +24,10 @@
},
getDetail(id) {
getProductNewsInfo({ id }).then(res => {
- this.setData({ detail: res.data })
+ this.setData({ info: res.data })
+ wx.setNavigationBarTitle({
+ title: res.data.title
+ })
})
},
openShare() {
--
Gitblit v1.9.3