隐藏导航栏 - 实现全屏沉浸式体验

This commit is contained in:
AIGC Developer
2025-10-21 17:17:16 +08:00
parent 52907cc011
commit 0e93daf2a0

View File

@@ -26,8 +26,8 @@ const route = useRoute()
// 计算是否显示导航栏和页脚
const shouldShowNavBar = computed(() => {
// 登录和注册页面不显示导航栏
return !['login', 'register'].includes(route.name)
// 所有页面不显示导航栏
return false
})
const shouldShowFooter = computed(() => {