仪表盘
版本库
文件存储
活动
搜索
登录
main
/
dust-manage-vue
扬尘在线监测
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
Merge branch 'feature-code-refactoring' and 'feature-002'
riku
2023-12-21
c24a5a2a99515b365ebc343b04538bb862790de1
[dust-manage-vue.git]
/
src
/
utils
/
calTableHeight.js
1
2
3
4
5
6
7
export function useTableHeight(top=0,pagination =0,h3=0,h4=0,h5=0){
const tableHeight = ref(0)
tableHeight.value = 300
tableHeight.value = `calc(100vh - ${top}px - ${pagination}px - ${h3}px - ${h4}px - ${h5}px - 45px)`
return tableHeight
}