Element generates tables dynamically, and there are problems in generating them.

use the v-for instruction to dynamically generate headers and data processing, but when the type attribute of el-table-column is not empty, the generated header type attribute is always in the last column, the order of headers in columns is correct, and the order of other columns is also correct, but in this case, please answer.

< el-table

  :data="tableData"
  style="width: 100%">
  <el-table-column  v-for="item in columns" :key="item.value"
    :prop="item.prop?item.prop:null"
    :type="item.type?item.type:null"
    :label="item.label"
    :width="item.width?item.width:null">
  </el-table-column>
  
</el-table>

Jun.15,2022
The optional value for the

type attribute is: selection/index/expand

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cfd9-2c354.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cfd9-2c354.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?