From ecbc81c918a288dc752b1634b3f545f795d992aa Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 20 三月 2024 16:15:41 +0800 Subject: [PATCH] 图书分类,图书列表样式修改,答题器优化 --- custom-tab-bar/index.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index 90c58df..3783000 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -8,6 +8,7 @@ methods: { onChange(event) { this.setData({ active: event.detail.value }); + console.log(this.data.active); wx.switchTab({ url: this.data.list[event.detail.value].url.startsWith('/') ? this.data.list[event.detail.value].url -- Gitblit v1.9.1