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

测试测试

上级 047a1b6c
<template> <template>
<div> <div>
<v-header :userName="userName" :authList="authList"></v-header> <v-header :userName="userName" :authList="authList"></v-header>
<v-slidebar v-show="systemType" :tokenValue="token" :systemType="systemType"></v-slidebar> <v-slidebar v-if="systemType" :tokenValue="token" :systemType="systemType"></v-slidebar>
<el-container> <el-container>
<div class="content" id="body-content"> <div class="content" id="body-content">
<transition name="router-fade" mode="out-in"> <transition name="router-fade" mode="out-in">
......
...@@ -307,8 +307,12 @@ export default { ...@@ -307,8 +307,12 @@ export default {
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
_this.containerHeight = // let containerHeight = 500, slidebarContainer = _this.getElmByID('slidebar-container');
_this.getElmByID('slidebar-container').getBoundingClientRect().height - 15; // if(slidebarContainer) {
// containerHeight =
// _this.getElmByID('slidebar-container').getBoundingClientRect().height - 15;
// }
_this.containerHeight = document.body.clientHeight - 80;
_this.getElmByID('screenSet').style.height = _this.getElmByID('screenSet').style.height =
_this.containerHeight - 152 + "px"; _this.containerHeight - 152 + "px";
console.log('_this.containerHeight', _this.containerHeight); console.log('_this.containerHeight', _this.containerHeight);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册