From fc608f86ae87e311932cfe2c657e0937e742b32c Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Wed, 11 Sep 2024 15:32:58 +0800 Subject: [PATCH] =?UTF-8?q?1.diy----=20=E6=96=87=E7=AB=A0=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E5=8D=A1=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/modules/tabs-view.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/diy/modules/tabs-view.vue b/components/diy/modules/tabs-view.vue index 88d1d895..d07926ce 100644 --- a/components/diy/modules/tabs-view.vue +++ b/components/diy/modules/tabs-view.vue @@ -79,7 +79,7 @@ }; // 默认是未选中的状态 let style = `${tabs_theme_style.tabs_title}`; - if (index == 0) { + if (index == this.active_index) { let checked_style = tabs_theme_style.tabs_title_checked; if (['2', '4'].includes(this.tabs_theme_index)) { checked_style += this.tabs_check;