Revert "feat: navbar 图标加圆形背景色"

This reverts commit c75a17375a.
This commit is contained in:
Burt
2024-01-09 09:22:24 +08:00
parent c75a17375a
commit 2878a4fe22
4 changed files with 6 additions and 25 deletions

View File

@@ -4,11 +4,10 @@ console.log(pagesJson)
/** 判断当前页面是否是tabbar页 */
export const getIsTabbar = () => {
if (!pagesJson.tabBar || !pagesJson.tabBar.list.length) {
if (!pagesJson.tabBar) {
return false
}
const pages = getCurrentPages()
const currPath = pages.at(-1).route
console.log(currPath)
return !!pagesJson.tabBar.list.find((e) => e.pagePath === currPath)
}