Browse Source

去掉底部空白区域

hella_online_20240829
wangyufei 4 months ago
parent
commit
7dd9ad7088
  1. 2
      src/directives/permission/clientTable.ts
  2. 1
      src/layout/components/AppView.vue

2
src/directives/permission/clientTable.ts

@ -13,7 +13,7 @@ export function clientTable(app: App<Element>) {
if(el.children&&el.children.length>1){
paginationHeight = 70
}
const height = window.innerHeight - top - paginationHeight - qustionHeight +5
const height = window.innerHeight - top - paginationHeight
el.style.height = height + 'px'
el.firstChild.style.height = '100%'
})

1
src/layout/components/AppView.vue

@ -48,6 +48,7 @@ const tagsView = computed(() => appStore.getTagsView)
!fixedHeader && layout === 'cutMenu' && footer
}
]"
style="padding-bottom: 0;"
>
<router-view>
<template #default="{ Component, route }">

Loading…
Cancel
Save