feat(utils): 添加 tabBarList 导出以获取 tabbar 列表
添加 tabBarList 导出项,方便其他模块直接获取 tabbar 配置列表
This commit is contained in:
@@ -11,6 +11,8 @@ export const getLastPage = () => {
|
||||
return pages[pages.length - 1]
|
||||
}
|
||||
|
||||
export const tabBarList = tabBar?.list || []
|
||||
|
||||
/** 判断当前页面是否是 tabbar 页 */
|
||||
export const getIsTabbar = () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user