From 04b4bddaac0a222760113899568d20b45af701f4 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 27 九月 2024 19:04:14 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/pages/detailDis/product.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/wechat_staff/pages/detailDis/product.js b/wechat_staff/pages/detailDis/product.js
index 4a5a7ac..7ffee42 100644
--- a/wechat_staff/pages/detailDis/product.js
+++ b/wechat_staff/pages/detailDis/product.js
@@ -14,6 +14,7 @@
current: 0,
id: '',
info: {},
+ spaceList: [],
member: {},
showShare: false,
isFold: false,
@@ -80,7 +81,7 @@
actionType: flag ? 'collect' : 'collect_cancel'
}).then(res => {
info.isCollection = flag
- wx.showToast({title: flag ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌'})
+ wx.showToast({title: flag ? '鏀惰棌鎴愬姛' : '鍙栨秷鏀惰棌', icon: 'none'})
this.setData({
info
})
@@ -102,6 +103,7 @@
this.setData({ current: e.detail.current })
},
priviewSpace(e) {
+ return
const url = e.currentTarget.dataset.url
const {
info
@@ -121,6 +123,7 @@
}).then(res => {
const index = enjoyList.findIndex( i =>(res.data && i.id === res.data.id) )
this.setData({
+ spaceList: res.data.spaceList || [],
info: {
...res.data,
isEnjoy: index > -1
--
Gitblit v1.9.3