element 表格头部设置高
element
A Vue.js 2.0 UI Toolkit for Web
项目地址:https://gitcode.com/gh_mirrors/eleme/element

·
<el-table :header-cell-style="{
textAlign: 'center',
height: '80px',}"
>
<el-table-column></el-table-column>
<el-table-column></el-table-column>
</el-table>
我们写后台的时候,难免经常用到表格,刚开始直接设置高没有效果,然后百度借鉴了各位大佬的,发现这个很有用,打算记录下来,效果就是这样子了,表格的头部高可以设置




A Vue.js 2.0 UI Toolkit for Web
最近提交(Master分支:6 个月前 )
c345bb45
10 个月前
a07f3a59
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update transition.md
* Update table.md
* Update table.md
* Update transition.md
* Update popover.md 10 个月前
更多推荐
所有评论(0)