diff --git a/src/utils/index.ts b/src/utils/index.ts index a4a994b..3c5b577 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -1,5 +1,4 @@ import { pages, subPackages } from '@/pages.json' -import { tabbarList } from '@/tabbar/config' import { isMpWeixin } from './platform' export function getLastPage() { @@ -93,11 +92,6 @@ export function getAllPages(key = 'needLogin') { return result } -export function isCurrentPageTabbar() { - const routeObj = currRoute() - return tabbarList.some(item => `/${item.pagePath}` === routeObj.path) -} - export function getCurrentPageI18nKey() { const routeObj = currRoute() const currPage = pages.find(page => `/${page.path}` === routeObj.path)