From 816d84a76c1a2f16f88dba70664397961f55caa1 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 10:07:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/components/detailFooter/index.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index 7fb1767..f7dc550 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -1,8 +1,6 @@
import {
getContentShareImg
} from '../../api/index'
-const { HYEventBus } = require('hy-event-store')
-const eventBus = new HYEventBus()
Component({
/**
* 缁勪欢鐨勫睘鎬у垪琛�
@@ -56,7 +54,7 @@
} = this.data
let that = this
getContentShareImg({
- articleId: `${info.id}&${path}&${wx.getStorageSync('member').id}`,
+ articleId: `${info.id}_${path}`,
type: '1',
// pageUrl: path,
imgurl: info.coverImage,
@@ -97,6 +95,9 @@
batchDown() {
const downloadList = this.data.info.imageurlList || []
wx.setStorageSync('downloadList', downloadList)
+ wx.setStorageSync('downloadConfig', {
+ path: this.data.path,id: this.data.info.id
+ })
wx.navigateTo({
url: '/pages/download/index',
}, 1000)
--
Gitblit v1.9.3