From 7eea32a9a7a034e951468bea279688e8db5c1c98 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 09 九月 2024 14:31:51 +0800 Subject: [PATCH] bug --- pages/home/home.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/home/home.js b/pages/home/home.js index e34d902..1b2f624 100644 --- a/pages/home/home.js +++ b/pages/home/home.js @@ -463,11 +463,13 @@ // icon: 'none', // duration: 1000 // }) + const { book } = e.currentTarget.dataset; + console.log(book); wx.navigateTo({ - url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id, + url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id + '&path=' + book.idPath, }); }, goReadBookDetail(e) { -- Gitblit v1.9.1