From c0ff00c32bca4077b140d0d69b2863851ae31273 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期二, 08 七月 2025 16:29:17 +0800 Subject: [PATCH] 优化 --- packageBookService/pages/bookServices/detail/components/testResource/testResource.js | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/testResource/testResource.js b/packageBookService/pages/bookServices/detail/components/testResource/testResource.js index 97ead59..f508d9c 100644 --- a/packageBookService/pages/bookServices/detail/components/testResource/testResource.js +++ b/packageBookService/pages/bookServices/detail/components/testResource/testResource.js @@ -82,10 +82,10 @@ }, }); } - // if (!this.data.isBuyBank) return wx.showToast({ - // icon: 'error', - // title: '璇峰厛璐拱棰樺簱', - // }) + if (!this.data.isBuyBank) return wx.showToast({ + icon: 'error', + title: '璇峰厛璐拱棰樺簱', + }) wx.showLoading({ title: "鍔犺浇涓�", }); @@ -131,10 +131,12 @@ if (value.refCode == "psychology") { const listName = value.name const listId = value.id + const bookId = this.data.bookInfo.id + const bookName = this.data.bookInfo.name + const formPath = this.data.tab wx.navigateTo({ url: `/packageBookService/pages/psychologyAnswer/psychologyAnswer?listName=${ - listName - }&listId=${listId}` + listName}&listId=${listId}&bookId=${bookId}&bookName=${bookName}&formPath=${formPath}` }) } else { wx.navigateTo({ -- Gitblit v1.9.1