fix
This commit is contained in:
@@ -146,16 +146,24 @@ watch(
|
||||
)
|
||||
|
||||
const isShowAddBill = computed(() => {
|
||||
return route.path === '/' || route.path === '/balance' || route.path === '/message' || route.path === '/calendar-v2'
|
||||
return (
|
||||
route.path === '/' ||
|
||||
route.path === '/balance' ||
|
||||
route.path === '/message' ||
|
||||
route.path === '/calendar-v2'
|
||||
)
|
||||
})
|
||||
|
||||
// 需要显示底部导航栏的路由
|
||||
const showNav = computed(() => {
|
||||
return [
|
||||
'/', '/statistics-v2',
|
||||
'/',
|
||||
'/statistics-v2',
|
||||
'/calendar-v2',
|
||||
'/balance', '/message',
|
||||
'/budget-v2', '/setting'
|
||||
'/balance',
|
||||
'/message',
|
||||
'/budget-v2',
|
||||
'/setting'
|
||||
].includes(route.path)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user