From 6e6d4f6688d0f110993dc2055289e640a5fd29bb Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 14 三月 2025 18:25:40 +0800
Subject: [PATCH] excel

---
 packageBookService/pages/bookServices/detail/components/tree/index.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/packageBookService/pages/bookServices/detail/components/tree/index.js b/packageBookService/pages/bookServices/detail/components/tree/index.js
index 223f666..cf3f46c 100644
--- a/packageBookService/pages/bookServices/detail/components/tree/index.js
+++ b/packageBookService/pages/bookServices/detail/components/tree/index.js
@@ -237,10 +237,10 @@
         let buyList = []
         if (learn.length) buyList = learn.filter((item) => this.properties.buyIds.includes(item.saleMethod.find((citem) => citem.SaleType == 'Normal').Id))
         // 鏈夌埗绾�(鍖呭惈閿�鍞柟寮�)锛屼笖鏈喘涔�
-        // if (learn.length && !buyList.length) return wx.showToast({
-        //   icon: 'error',
-        //   title: '璇峰厛璐拱璇ヨ祫婧�',
-        // })
+        if (learn.length && !buyList.length) return wx.showToast({
+          icon: 'error',
+          title: '璇峰厛璐拱璇ヨ祫婧�',
+        })
         if (item.protectedFile || item.freeFile) {
           let file = item.fileMap[item.protectedFile] ? item.fileMap[item.protectedFile] : item.fileMap[item.freeFile]
           if (file && file.protectType !== "Public") {
@@ -266,7 +266,7 @@
         url = "/packageDomain/pages/resourceDetails/document/index";
       }
       wx.navigateTo({
-        url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=${this.properties.tab}&applyState=${this.properties.applyState}&deadline=${this.properties.deadline}&source=qrcode`,
+        url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=${this.properties.tab}&applyState=${this.properties.applyState}&deadline=${this.properties.deadline}`,
       });
     },
 

--
Gitblit v1.9.1