From 28c725308aaf418e9032964ffcf5ca3b0d8a1208 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 17:13:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_jiaxuan/pages/consult/detail.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wechat_jiaxuan/pages/consult/detail.js b/wechat_jiaxuan/pages/consult/detail.js
index 0419117..4d390e0 100644
--- a/wechat_jiaxuan/pages/consult/detail.js
+++ b/wechat_jiaxuan/pages/consult/detail.js
@@ -20,15 +20,15 @@
this.setData({
bottomLift: app.bottomLift
})
- this.getDetail(options.id)
+ this.getDetail(options.id, options.userId || '')
},
handleDesign() {
wx.navigateTo({
url: '/pages/design/design',
})
},
- getDetail(id) {
- getProductNewsInfo({ id }).then(res => {
+ getDetail(id, userId) {
+ getProductNewsInfo({ id, salesId: userId || null }).then(res => {
this.setData({ info: res.data })
wx.setNavigationBarTitle({
title: res.data.title
--
Gitblit v1.9.3