[update] 50803 分辨率bug

This commit is contained in:
zhaomeijing
2022-04-24 15:38:19 +08:00
parent bc5f9e61dc
commit 7c788d17e4
@@ -308,6 +308,7 @@
width = this.widthBrown - client.left
let iframeTop= document.querySelector('.split-detail-left').getBoundingClientRect().top
document.querySelector('.split-detail-left').style.height = this.brownHeight-iframeTop-24 + 'px'
console.log(iframeTop,'iframeTop2222')
document.querySelector('.split-detail-table .ant-table-content').style.width = width - 20 + 'px'
window.addEventListener('resize', () => {
that.screenWidth = window.screenWidth || document.body.clientWidth;
@@ -316,6 +317,7 @@
width = that.screenWidth - client.left
document.querySelector('.split-detail-table .ant-table-content').style.width = width - 20 + 'px'
iframeTop= document.querySelector('.split-detail-left').getBoundingClientRect().top
console.log(iframeTop,'iframeTop111')
document.querySelector('.split-detail-left').style.height = this.brownHeight-iframeTop-24 + 'px'
}, false);
@@ -1299,5 +1301,8 @@
.title-text{
min-width: 73px!important;
}
.split-detail-wrap{
height: 481px;
}
}
</style>