這裏的width='12'設置成min-width='!2%' code
記得全部column都設置百分比哦table
<el-table-column prop="date" label="日期" min-width="12%"> </el-table-column>