提交 6096f85e authored 作者: junjie's avatar junjie

feat(视图):表格视图高度优化

上级 32299104
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
const that = this const that = this
setTimeout(function() { setTimeout(function() {
const currentHeight = document.documentElement.clientHeight const currentHeight = document.documentElement.clientHeight
const tableMaxHeight = currentHeight - 56 - 40 - 84 - that.$refs.title.offsetHeight - 8 * 2 - 20 const tableMaxHeight = currentHeight - 56 - 40 - 84 - that.$refs.title.offsetHeight - 20
let tableHeight let tableHeight
if (that.chart.data) { if (that.chart.data) {
tableHeight = (that.chart.data.tableRow.length + 2) * 36 tableHeight = (that.chart.data.tableRow.length + 2) * 36
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论