0
点赞
收藏
分享

微信扫一扫

el-table自定义表头样式

上古神龙 2024-08-09 阅读 34
    <el-table ref="multipleTableRef" :data="tableData" style="width: 100%;margin-top: 20px;"
            @selection-change="handleSelectionChange" height="500px"
            :header-cell-style="{ 'text-align': 'center', 'background': '#02B980', 'color': '#fff' }"
            :cell-style="{ 'text-align': 'center' }">

效果图

举报

相关推荐

0 条评论