Merge branch 'unibest-tech:main' into main

This commit is contained in:
hygge
2025-08-21 15:44:57 +08:00
committed by GitHub
2 changed files with 2 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ export const customTabbarEnable
*/
export const needHideNativeTabbar = selectedTabbarStrategy === TABBAR_STRATEGY_MAP.CUSTOM_TABBAR_WITH_CACHE
export const tabbarList = customTabbarEnable ? customTabbarList : nativeTabbarList
export const tabbarList = customTabbarEnable ? customTabbarList.map(item => ({ text: item.text, pagePath: item.pagePath })) : nativeTabbarList
const _tabbar: TabBar = {
// 只有微信小程序支持 custom。App 和 H5 不生效