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

样式问题

上级 56fd7ab5
......@@ -222,6 +222,7 @@ export default {
// 挂载到Dom完成时
mounted: function() {
this.resizeHeight();
// commonUtil.resizeHeight();
},
methods: {
resizeHeight(
......@@ -232,12 +233,14 @@ export default {
) {
let self = this;
let containerHeight =
this.p_getElm(refHeightId).getBoundingClientRect().height - 15;
this.p_getElm(refHeightId).getBoundingClientRect().height - 15
containerHeight > 600 ? containerHeight : 600;
this.p_getElm(containerHeightId).style.height =
containerHeight - cMinusHeight + "px";
window.onresize = function() {
containerHeight =
this.p_getElm(refHeightId).getBoundingClientRect().height - 15;
containerHeight > 600 ? containerHeight : 600;
this.p_getElm(containerHeightId).style.height =
containerHeight - cMinusHeight + "px";
self.containerHeight = containerHeight;
......
......@@ -72,7 +72,7 @@ export default {
title: "等待会话"
},{
icon: 'el-icon-setting',
index: "current-session-index",
index: "current-session-list",
subs: [],
title: "当前会话"
},{
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册