vue+elemnet 实现自定义参数

  用 table 表格的时候点击表头官网上的参数是这样的:

   保留之前的参数,还要自定义参数,上代码:

<el-table :data="item.dataList" size="mini" border stripe style=" 100%;max-height: 350px;" highlight-current-row @header-click="(column)=>{headerClick(column,item.tableName)}">
headerClick(column, tableName) {
   //tablename 就是我自定义的参数  
}
原文地址:https://www.cnblogs.com/houBlogs/p/13546310.html