apps/taro/src/hooks/router.ts
@@ -51,6 +51,7 @@ const appStore = useAppStore(); const { latestRoute } = storeToRefs(appStore); const { blLifeRecharge } = useLifeRechargeContext(); const system = useSystemStore(); const router = Taro.useRouter(); @@ -58,6 +59,7 @@ console.log('router: params', router, blLifeRecharge.accountModel.channlesNum); Taro.useTabItemTap((item) => { system.setTabIndex(item.index as any); Taro.reLaunch({ url: pathAddExtraParam(item.pagePath, { channelId: blLifeRecharge.accountModel.channlesNum }), success() {