使用element-ui中的container布局容器

使用container布局容器,最常用的是第六个(自己官网看第六个什么样)
可能有人调整aside的高,始终不能充满屏幕,接下来我说一下我通常用的
1.在App.vue中,style里写:
#app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
2.在container中style里写:
.el-aside {
  height:100vh;
}
搞定!你自己试试吧

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章