:header-cell-style="{ 'text-align': 'center', 'background-color': '##fafafa' }" :cell-style="{ 'text-align': 'center' }"
在el-table里添加就可以了
:header-cell-style="{ 'text-align': 'center', 'background-color': '##fafafa' }" :cell-style="{ 'text-align': 'center' }"
在el-table里添加就可以了