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

样式问题

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