Auto merge base into tabbar

This commit is contained in:
GitHub Actions 2025-06-03 04:40:02 +00:00
commit 667e0647c4
2 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default defineUniPages({
'z-paging/components/z-paging$1/z-paging$1.vue',
},
},
// 如果不需要tabBar可以注释掉这个配置,或者直接删除
// 如果不需要tabBar请使用 spa 模板。pnpm create xxx -t spa
tabBar: {
custom: true,
color: '#999999',

View File

@ -11,6 +11,8 @@ export const getLastPage = () => {
return pages[pages.length - 1]
}
export const tabBarList = tabBar?.list || []
/** 判断当前页面是否是 tabbar 页 */
export const getIsTabbar = () => {
try {