From 5db828fd56664988d9fa0e9a34cd2237151a7a99 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 29 八月 2025 13:49:36 +0800 Subject: [PATCH] fix: bug --- apps/bMiniApp/src/custom-tab-bar/index.tsx | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/apps/bMiniApp/src/custom-tab-bar/index.tsx b/apps/bMiniApp/src/custom-tab-bar/index.tsx index aec7fa4..dd8bbec 100644 --- a/apps/bMiniApp/src/custom-tab-bar/index.tsx +++ b/apps/bMiniApp/src/custom-tab-bar/index.tsx @@ -29,7 +29,8 @@ const TarBarItem = function (props: TarBarItemProps, context: SetupContext<TarBarItemEvents>) { const _badge = props.badge > 99 ? '99+' : props.badge; - const isActive = props.currentPath.toLowerCase().includes(props.pagePath.toLowerCase()); + // const isActive = props.currentPath.toLowerCase().includes(props.pagePath.toLowerCase()); + const isActive = props.active; return ( <div class={['bottom-tab-item', { active: isActive }, props.className]} -- Gitblit v1.9.1