From 41d26c8ef752828901f2b683d42d15c18542f3b7 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期日, 19 十月 2025 16:45:08 +0800
Subject: [PATCH] feat: 1.2.0.1
---
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