<div class="main" :style="{ height: bodyHeight + 'px' }">
</div>
mounted(){
this.bodyHeight=document.documentElement.clientHeight
}
<div class="main" :style="{ height: bodyHeight + 'px' }">
</div>
mounted(){
this.bodyHeight=document.documentElement.clientHeight
}