From a69bf92c8907eb1fed227afb156ff0e1c5821c24 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 16:16:12 +0800
Subject: [PATCH] fix: bug
---
apps/bMiniApp/src/hooks/router.ts | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/apps/bMiniApp/src/hooks/router.ts b/apps/bMiniApp/src/hooks/router.ts
index 59447e7..a0ac30f 100644
--- a/apps/bMiniApp/src/hooks/router.ts
+++ b/apps/bMiniApp/src/hooks/router.ts
@@ -1,6 +1,7 @@
import Taro from '@tarojs/taro';
import { TabBarPageRouter } from '@/constants';
import { useSystemStore } from '@/stores/modules/system';
+import { httpLoggerRecord } from '@12333/utils';
export function useSwitchTab() {
const systemStore = useSystemStore();
@@ -10,6 +11,10 @@
console.log('index: ', index);
systemStore.setTabIndex(index);
Taro.switchTab(option);
+ httpLoggerRecord.info({
+ message: `[switchTab]`,
+ args: [option, { index, TabBarPageRouter }],
+ });
};
return switchTab;
}
--
Gitblit v1.9.1