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