From 8dee8403e6c12b6d738a3756d078ac0b4e6ec70d Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 29 八月 2025 13:50:01 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp

---
 apps/bMiniApp/src/custom-tab-bar/index.tsx |    3 ++-
 apps/bMiniApp/project.config.json          |    4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/apps/bMiniApp/project.config.json b/apps/bMiniApp/project.config.json
index 7bc8fee..e4afad4 100644
--- a/apps/bMiniApp/project.config.json
+++ b/apps/bMiniApp/project.config.json
@@ -3,8 +3,8 @@
     "description": "",
     "setting": {
         "urlCheck": false,
-        "es6": true,
-        "enhance": true,
+        "es6": false,
+        "enhance": false,
         "postcss": false,
         "preloadBackgroundData": false,
         "minified": false,
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