| | |
| | | import Taro from '@tarojs/taro'; |
| | | 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}`, |
| | | }; |