apps/taro/src/constants/tabBar.ts
@@ -1,4 +1,8 @@ import Taro from '@tarojs/taro'; let res = Taro.getLaunchOptionsSync(); console.log('getLaunchOptionsSync: ', res); export const TabBarPageRouter = { Home: '/pages/home/index', Mine: '/pages/mine/index', Home: `/pages/home/index?channelId=${res.query?.channelId}`, Mine: `/pages/mine/index?channelId=${res.query?.channelId}`, };