提交 1906e4f9 编写于 作者: guangjun.yang's avatar guangjun.yang

当前高度

上级 a74b33e0
...@@ -312,10 +312,10 @@ export default { ...@@ -312,10 +312,10 @@ export default {
_this.containerHeight = _this.containerHeight =
_this.p_getElm(refHeightId).getBoundingClientRect().height - 15; _this.p_getElm(refHeightId).getBoundingClientRect().height - 15;
_this.p_getElm(containerHeightId).style.height = _this.p_getElm(containerHeightId).style.height =
containerHeight - cMinusHeight + "px"; _this.containerHeight - cMinusHeight + "px";
console.log('containerHeight', containerHeight); console.log('containerHeight', _this.containerHeight);
window.onresize = function() { window.onresize = function() {
console.log('containerHeight2', containerHeight); console.log('containerHeight2', _this.containerHeight);
_this.containerHeight = _this.containerHeight =
_this.p_getElm(refHeightId).getBoundingClientRect().height - 15; _this.p_getElm(refHeightId).getBoundingClientRect().height - 15;
_this.p_getElm(containerHeightId).style.height = _this.p_getElm(containerHeightId).style.height =
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册