From 27932e6c5a465d066988d664d8fdbe157eef22d1 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期二, 18 六月 2024 18:19:34 +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