wupengfei
6 天以前 4dc2236babbf99787044c0fa29be9cb5fa850144
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 }],