From 643ddd2abd964cdf727329d601fbec07d458e661 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 01 八月 2024 10:27:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
wechat_staff/pages/download/index.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/wechat_staff/pages/download/index.js b/wechat_staff/pages/download/index.js
index a18659c..aa5fd1e 100644
--- a/wechat_staff/pages/download/index.js
+++ b/wechat_staff/pages/download/index.js
@@ -47,7 +47,7 @@
if (item.checked) {
getContentShareImg({
articleId: `${downloadConfig.id}_${downloadConfig.path}`,
- type: this.takeQrcode ? 1 : 0,
+ type: this.takeQrcode ? 0 : 1,
imgurl: item.url
}).then(res => {
wx.downloadFile({
@@ -102,10 +102,6 @@
downloadList: temp,
downloadConfig
})
- setTimeout(() => {
- wx.setStorageSync('downloadList', [])
- wx.setStorageSync('downloadConfig', {})
- }, 500)
},
openParam() {
const downloadList = this.data.downloadList.filter(i => i.checked)
--
Gitblit v1.9.3