From af2e38d1d72633d03afdb6e75f8d30b7ef0d0aee Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 29 七月 2024 15:24:30 +0800 Subject: [PATCH] 图书详情页添加对云学习目录整体购买的判断 --- pages/digitalTextbooks/index.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/digitalTextbooks/index.js b/pages/digitalTextbooks/index.js index f5d8a7b..d0101e6 100644 --- a/pages/digitalTextbooks/index.js +++ b/pages/digitalTextbooks/index.js @@ -134,8 +134,8 @@ }, selectTab(e) { - // console.log(index); - let index = e.currentTarget.dataset.index + console.log(e); + let index = e.detail.value console.log(index); this.setData({ selectedIndex: index -- Gitblit v1.9.1