wupengfei
2 天以前 9d7d85f93b9e0b752d79559f5caac31fd2f00c82
apps/bMiniApp/src/hooks/router.ts
@@ -9,8 +9,9 @@
  const switchTab = (option: Taro.switchTab.Option) => {
    const index = TabBarPageRouterList.findIndex((x) => option.url.includes(x));
    console.log('index: ', index);
    systemStore.setTabIndex(index);
    Taro.switchTab(option);
    Taro.switchTab(option).then(() => {
      systemStore.setTabIndex(index);
    });
    httpLoggerRecord.info({
      message: `[switchTab]`,
      args: [option, { index, TabBarPageRouter }],