zhengyiming
2025-03-13 7fdb5f0c910ad3baf25730278606ce8b37faec50
apps/taro/src/constants/tabBar.ts
@@ -2,7 +2,12 @@
let res = Taro.getLaunchOptionsSync();
console.log('getLaunchOptionsSync: ', res);
export const TabBarPageRouterForCheck = {
  Home: `/pages/home/index`,
  Mine: `/pages/mine/index`,
};
export const TabBarPageRouter = {
  Home: `/pages/home/index?channelId=${res.query?.channelId}`,
  Mine: `/pages/mine/index?channelId=${res.query?.channelId}`,
  Home: `${TabBarPageRouterForCheck['Home']}?channelId=${res.query?.channelId}`,
  Mine: `${TabBarPageRouterForCheck['Mine']}?channelId=${res.query?.channelId}`,
};