方法:
表头可以用::header-cell-style="{'background-color': '#F1F4FF' ,'text-align':'center'}"
具体列可以分别设置 align="left" align="center" align="right"
若需要调整表格内数据格式可以做如下处理:
<el-table-column prop="REGISTERLIMIT" label="注册总额度" width="120" align="right" class-name="col-content">
<template #default="scope">
<div style="margin-right:20px;"> {{ moneyFormatter((scope.row.REGISTERLIMIT / 100000000).toFixed(2)) }} 亿元 </div>
</template>
</el-table-column>
或
<el-table-column prop="unusedAmount" width="100" label="未使用额度" align="right" class-name="col-content" >
<template v-slot="scope">
<div style="margin-right:9px;">{{moneyFormatter(((scope.row.REGISTERLIMIT - scope.row.ISSBDRECECASH) / 100000000).toFixed(2)) + '亿元'}}</div>
</template>
</el-table-column>