From 3508c76f824c6632b47aff17b1ec2f2a11c504fc Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 01 八月 2024 14:31:12 +0800
Subject: [PATCH] lll

---
 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