fix: 修复全屏时新增console高度不对的问题

This commit is contained in:
陈劲松
2021-01-27 19:35:55 +08:00
committed by chenjinsong
parent f449f08e77
commit a0185ec4e8

View File

@@ -161,7 +161,7 @@ export default {
//容器高度设置100%
const consoleBox = document.getElementById('ternimalContainer'+this.idIndex);
let height = document.body.clientHeight;//高度
consoleBox.style.height = `${100}%`;
consoleBox.style.height = `${height-55}px`;
rows = (height-this.topMenuHeight)/(this.fontSize+this.fontSpaceHeight);
rows = parseInt(rows);
}else{