feat: 续上,删除多余文件

This commit is contained in:
Burt
2024-01-24 11:01:47 +08:00
parent cfc8196295
commit a3de109d01
25 changed files with 0 additions and 352 deletions

View File

@@ -1,13 +0,0 @@
import pagesJson from '@/pages.json'
console.log(pagesJson)
/** 判断当前页面是否是tabbar页 */
export const getIsTabbar = () => {
if (!pagesJson.tabBar) {
return false
}
const pages = getCurrentPages()
const currPath = pages.at(-1).route
return !!pagesJson.tabBar.list.find((e) => e.pagePath === currPath)
}